summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vgmplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vgmplay.cpp')
-rw-r--r--src/mame/drivers/vgmplay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index e2f3916a9e1..77431d11932 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -253,7 +253,7 @@ vgmplay_device::vgmplay_device(const machine_config &mconfig, const char *tag, d
void vgmplay_device::device_start()
{
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
m_file = &space(AS_PROGRAM);
m_io = &space(AS_IO);
m_io16 = &space(AS_IO16);
@@ -356,7 +356,7 @@ void vgmplay_device::execute_run()
}
case RUN: {
if(machine().debug_flags & DEBUG_FLAG_ENABLED)
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
uint8_t code = m_file->read_byte(m_pc);
switch(code) {
case 0x4f:
@@ -641,7 +641,7 @@ void vgmplay_device::execute_run()
done = true;
}
if(machine().debug_flags & DEBUG_FLAG_ENABLED)
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
m_icount = 0;
break;
}