Fixed SYSENTER, SYSEXIT, SYSCALL, and SYSRET;
SYSCALL and SYSRET are now perfectly in line with AMD's specification; Improvements to the API call to gracefully stop the emulator.
This commit is contained in:
@@ -270,7 +270,8 @@ static void prefetch_flush()
|
||||
#define CACHE_ON() (!(cr0 & (1 << 30)) && !(cpu_state.flags & T_FLAG))
|
||||
|
||||
#ifdef USE_DYNAREC
|
||||
static int cycles_main = 0, cycles_old = 0;
|
||||
int cycles_main = 0;
|
||||
static int cycles_old = 0;
|
||||
static uint64_t tsc_old = 0;
|
||||
|
||||
#ifdef USE_ACYCS
|
||||
|
||||
Reference in New Issue
Block a user