Reordered some CPU variables and rewrote codegen emitted by the old recompiler's 64-bit version of codegen_accumulate_flush() to not assume 32-bit pointers, fixes 64-bit old recompiler, closes #1615.

This commit is contained in:
OBattler
2021-08-26 13:53:13 +02:00
parent 6d7acaa100
commit aa3a52da3c
3 changed files with 14 additions and 7 deletions

View File

@@ -69,6 +69,9 @@ enum {
#define CPUID_3DNOW (1UL << 31UL)
/* Make sure this is as low as possible. */
cpu_state_t cpu_state;
#ifdef USE_DYNAREC
const OpFn *x86_dynarec_opcodes, *x86_dynarec_opcodes_0f,
*x86_dynarec_opcodes_d8_a16, *x86_dynarec_opcodes_d8_a32,
@@ -128,8 +131,6 @@ double cpu_dmulti;
msr_t msr;
cpu_state_t cpu_state;
cyrix_t cyrix;
cpu_family_t *cpu_f;