From 6924ad81208bf71964ee63da20d14582972331f0 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 26 Nov 2008 06:38:08 +0000 Subject: Changed timer_alloc, timer_set, timer_pulse, timer_call_after_resynch, and timer_get_time to pass the machine parameter. Moved timer globals to hang off of the running_machine. --- src/emu/sound/ymf262.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/emu/sound/ymf262.c') diff --git a/src/emu/sound/ymf262.c b/src/emu/sound/ymf262.c index 1db1d03929d..eabed321e76 100644 --- a/src/emu/sound/ymf262.c +++ b/src/emu/sound/ymf262.c @@ -56,6 +56,7 @@ differences between OPL2 and OPL3 shown in datasheets: #include #include "sndintrf.h" /* use M.A.M.E. */ +#include "deprecat.h" #include "ymf262.h" @@ -2264,7 +2265,7 @@ static int OPL3_LockTable(void) { cymfile = fopen("ymf262_.cym","wb"); if (cymfile) - timer_pulse ( ATTOTIME_IN_HZ(110), NULL, 0, cymfile_callback); /*110 Hz pulse timer*/ + timer_pulse ( Machine, ATTOTIME_IN_HZ(110), NULL, 0, cymfile_callback); /*110 Hz pulse timer*/ else logerror("Could not create ymf262_.cym file\n"); } -- cgit v1.2.3-70-g09d2