mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
Really enable flight_recorder with predecode cache on
This commit is contained in:
parent
7e20a8d205
commit
a3036b0c9d
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user