summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/upd7810/upd7810.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-03-28 05:25:15 +1100
committer Vas Crabb <vas@vastheman.com>2018-03-28 05:25:15 +1100
commit010155a3c51aa80dcf736b52ec89ffd890f795ef (patch)
treea732be4076a467e5dc25f088f9296544f364f858 /src/devices/cpu/upd7810/upd7810.cpp
parent703564beccc92a6b6b33ab9562732a4e7ceaae8d (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/upd7810/upd7810.cpp')
-rw-r--r--src/devices/cpu/upd7810/upd7810.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/upd7810/upd7810.cpp b/src/devices/cpu/upd7810/upd7810.cpp
index 93d4e83f474..38e1f54dd4f 100644
--- a/src/devices/cpu/upd7810/upd7810.cpp
+++ b/src/devices/cpu/upd7810/upd7810.cpp
@@ -1669,7 +1669,7 @@ void upd7810_device::base_device_start()
save_item(NAME(m_int1));
save_item(NAME(m_int2));
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
void upd7810_device::device_start()
@@ -1900,7 +1900,7 @@ void upd7810_device::execute_run()
{
int cc;
- debugger_instruction_hook(this, PC);
+ debugger_instruction_hook(PC);
PPC = PC;
RDOP(OP);