diff options
| author | 2018-03-28 05:25:15 +1100 | |
|---|---|---|
| committer | 2018-03-28 05:25:15 +1100 | |
| commit | 010155a3c51aa80dcf736b52ec89ffd890f795ef (patch) | |
| tree | a732be4076a467e5dc25f088f9296544f364f858 /src/devices/cpu/drcbec.cpp | |
| parent | 703564beccc92a6b6b33ab9562732a4e7ceaae8d (diff) | |
Reshuffle some stuff:
* Move around the debugger hooks to get a small but measurable performance increase
* Remove emucore from external tools
* Improve performance of DSP16 interpreter a little by generating six variants of execution loop
Diffstat (limited to 'src/devices/cpu/drcbec.cpp')
| -rw-r--r-- | src/devices/cpu/drcbec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/drcbec.cpp b/src/devices/cpu/drcbec.cpp index 41566614233..5dc7499988a 100644 --- a/src/devices/cpu/drcbec.cpp +++ b/src/devices/cpu/drcbec.cpp @@ -519,7 +519,8 @@ int drcbe_c::execute(code_handle &entry) fatalerror("Unexpected opcode\n"); case MAKE_OPCODE_SHORT(OP_DEBUG, 4, 0): // DEBUG pc - debugger_instruction_hook(&m_device, PARAM0); + if (m_device.machine().debug_flags & DEBUG_FLAG_CALL_HOOK) + m_device.debug()->instruction_hook(PARAM0); break; case MAKE_OPCODE_SHORT(OP_HASHJMP, 4, 0): // HASHJMP mode,pc,handle |
