summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/snes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/snes.c')
-rw-r--r--src/mame/machine/snes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/snes.c b/src/mame/machine/snes.c
index feca580085b..6119ea42f39 100644
--- a/src/mame/machine/snes.c
+++ b/src/mame/machine/snes.c
@@ -318,13 +318,13 @@ static void snes_init_ram(void)
snes_ram[VMAIN] = 0x80;
/* init timers and stop them */
- snes_scanline_timer = timer_alloc(snes_scanline_tick);
+ snes_scanline_timer = timer_alloc(snes_scanline_tick, NULL);
timer_adjust(snes_scanline_timer, attotime_never, 0, attotime_never);
- snes_hblank_timer = timer_alloc(snes_hblank_tick);
+ snes_hblank_timer = timer_alloc(snes_hblank_tick, NULL);
timer_adjust(snes_hblank_timer, attotime_never, 0, attotime_never);
- snes_nmi_timer = timer_alloc(snes_nmi_tick);
+ snes_nmi_timer = timer_alloc(snes_nmi_tick, NULL);
timer_adjust(snes_nmi_timer, attotime_never, 0, attotime_never);
- snes_hirq_timer = timer_alloc(snes_hirq_tick_callback);
+ snes_hirq_timer = timer_alloc(snes_hirq_tick_callback, NULL);
timer_adjust(snes_hirq_timer, attotime_never, 0, attotime_never);
// SNES hcounter has a 0-339 range. hblank starts at counter 260.