summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/k054539.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/k054539.c')
-rw-r--r--src/emu/sound/k054539.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/k054539.c b/src/emu/sound/k054539.c
index 1944272112f..ac0e28a8dd1 100644
--- a/src/emu/sound/k054539.c
+++ b/src/emu/sound/k054539.c
@@ -439,9 +439,9 @@ else
}
-static TIMER_CALLBACK_PTR( K054539_irq )
+static TIMER_CALLBACK( K054539_irq )
{
- struct k054539_info *info = param;
+ struct k054539_info *info = ptr;
if(info->regs[0x22f] & 0x20)
info->intf->irq ();
}
@@ -473,7 +473,7 @@ static void K054539_init_chip(struct k054539_info *info, int clock, int sndindex
// One or more of the registers must be the timer period
// And anyway, this particular frequency is probably wrong
// 480 hz is TRUSTED by gokuparo disco stage - the looping sample doesn't line up otherwise
- timer_pulse_ptr(ATTOTIME_IN_HZ(480), info, K054539_irq);
+ timer_pulse(ATTOTIME_IN_HZ(480), info, 0, K054539_irq);
info->stream = stream_create(0, 2, clock, info, K054539_update);