summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/snes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/snes.c')
-rw-r--r--src/mame/audio/snes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/snes.c b/src/mame/audio/snes.c
index 8b7a8b78446..6f3c43b0a13 100644
--- a/src/mame/audio/snes.c
+++ b/src/mame/audio/snes.c
@@ -1153,13 +1153,13 @@ void *snes_sh_start(int clock, const struct CustomSound_interface *config)
channel = stream_create( 0, 2, 32000, NULL, snes_sh_update );
/* Initialize the timers */
- timers[0].timer = timer_alloc( snes_spc_timer );
+ timers[0].timer = timer_alloc( snes_spc_timer , NULL);
timer_adjust( timers[0].timer, ATTOTIME_IN_HZ(8000), 0, ATTOTIME_IN_HZ(8000) );
timer_enable( timers[0].timer, 0 );
- timers[1].timer = timer_alloc( snes_spc_timer );
+ timers[1].timer = timer_alloc( snes_spc_timer , NULL);
timer_adjust( timers[1].timer, ATTOTIME_IN_HZ(8000), 1, ATTOTIME_IN_HZ(8000) );
timer_enable( timers[1].timer, 0 );
- timers[2].timer = timer_alloc( snes_spc_timer );
+ timers[2].timer = timer_alloc( snes_spc_timer , NULL);
timer_adjust( timers[2].timer, ATTOTIME_IN_HZ(64000), 2, ATTOTIME_IN_HZ(64000) );
timer_enable( timers[2].timer, 0 );