diff --git a/SheepShaver/src/kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp b/SheepShaver/src/kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp index 22202b95..3aa0645e 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp @@ -31,14 +31,9 @@ register basic_cpu *CPU asm(REG_CPU); #else #define CPU ((basic_cpu *)CPUPARAM) #endif -#if SIZEOF_VOID_P == 8 #define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \ register uintptr reg_##REG asm(REG_##REG); \ register uint32 REG asm(REG_##REG) -#else -#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \ -register uint32 REG asm(REG_##REG) -#endif DYNGEN_DEFINE_GLOBAL_REGISTER(A0); DYNGEN_DEFINE_GLOBAL_REGISTER(T0); DYNGEN_DEFINE_GLOBAL_REGISTER(T1); diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-dyngen-ops.cpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-dyngen-ops.cpp index 137234dc..277ab8e5 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-dyngen-ops.cpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-dyngen-ops.cpp @@ -33,14 +33,9 @@ register struct powerpc_cpu *CPU asm(REG_CPU); #else #define CPU ((powerpc_cpu *)CPUPARAM) #endif -#if SIZEOF_VOID_P == 8 #define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \ register uintptr reg_##REG asm(REG_##REG); \ register uint32 REG asm(REG_##REG) -#else -#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \ -register uint32 REG asm(REG_##REG) -#endif DYNGEN_DEFINE_GLOBAL_REGISTER(A0); DYNGEN_DEFINE_GLOBAL_REGISTER(T0); DYNGEN_DEFINE_GLOBAL_REGISTER(T1);