Some CPU fixes, fixes #736.

This commit is contained in:
OBattler
2020-05-06 00:22:21 +02:00
parent d3618e6575
commit 23739b3dc6
3 changed files with 3 additions and 6 deletions

View File

@@ -1083,7 +1083,7 @@ generate_call:
int jump_cycles = 0;
if (codegen_timing_jump_cycles != NULL)
codegen_timing_jump_cycles();
jump_cycles = codegen_timing_jump_cycles();
if (jump_cycles)
{

View File

@@ -2047,7 +2047,7 @@ generate_call:
int jump_cycles = 0;
if (codegen_timing_jump_cycles != NULL)
codegen_timing_jump_cycles();
jump_cycles = codegen_timing_jump_cycles();
if (jump_cycles)
{

View File

@@ -2210,10 +2210,7 @@ cpu_CPUID(void)
{
EAX = CPUID;
EBX = ECX = 0;
EDX = CPUID_FPU | CPUID_VME | CPUID_PSE | CPUID_TSC | CPUID_MSR | CPUID_PAE | CPUID_CMPXCHG8B | CPUID_MTRR/* | CPUID_SEP*/ | CPUID_CMOV;
#ifdef USE_SEP
EDX |= CPUID_SEP;
#endif
EDX = CPUID_FPU | CPUID_VME | CPUID_PSE | CPUID_TSC | CPUID_MSR | CPUID_PAE | CPUID_CMPXCHG8B | CPUID_MTRR | CPUID_SEP | CPUID_CMOV;
}
else if (EAX == 2)
{