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/upd7725/upd7725.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/upd7725/upd7725.cpp')
-rw-r--r-- | src/devices/cpu/upd7725/upd7725.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/upd7725/upd7725.cpp b/src/devices/cpu/upd7725/upd7725.cpp index 6d66f0420cd..7103453dd66 100644 --- a/src/devices/cpu/upd7725/upd7725.cpp +++ b/src/devices/cpu/upd7725/upd7725.cpp @@ -150,7 +150,7 @@ void necdsp_device::device_start() save_item(NAME(m_irq)); save_item(NAME(m_irq_firing)); - m_icountptr = &m_icount; + set_icountptr(m_icount); for (auto & elem : dataRAM) { @@ -335,7 +335,7 @@ void necdsp_device::execute_run() // call debugger hook if necessary if (device_t::machine().debug_flags & DEBUG_FLAG_ENABLED) { - debugger_instruction_hook(this, regs.pc); + debugger_instruction_hook(regs.pc); } if (m_irq_firing == 0) // normal opcode |