diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-config.hpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-config.hpp index 631bf727..8fa8fdd7 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-config.hpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-config.hpp @@ -177,10 +177,6 @@ #undef PPC_NO_STATIC_II_INDEX_TABLE #endif -#if defined(PPC_FLIGHT_RECORDER) && !defined(PPC_NO_DECODE_CACHE) -#define PPC_NO_DECODE_CACHE -#endif - #if defined(PPC_EXECUTE_DUMP_STATE) && !defined(PPC_NO_DECODE_CACHE) #define PPC_NO_DECODE_CACHE #endif diff --git a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp index ac51cae3..c387f81f 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/ppc/ppc-cpu.hpp @@ -342,7 +342,7 @@ inline void powerpc_cpu::do_execute() #ifdef PPC_EXECUTE_DUMP_STATE fprintf(stderr, "[%08x]-> %08x\n", pc(), opcode); #endif -#if FLIGHT_RECORDER +#if PPC_FLIGHT_RECORDER if (is_logging()) record_step(opcode); #endif @@ -367,11 +367,11 @@ inline void powerpc_cpu::do_execute() ii = decode(opcode); di->opcode = opcode; di->execute = ii->execute; -#if FLIGHT_RECORDER +#if PPC_FLIGHT_RECORDER if (is_logging()) { di++; di->opcode = opcode; - di->execute = record_step; + di->execute = &powerpc_cpu::record_step; } #endif if (++di >= decode_cache_end_p) {