summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/ymf262.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-26 06:38:08 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-26 06:38:08 +0000
commit6924ad81208bf71964ee63da20d14582972331f0 (patch)
treea287ea66747c45300dae4963f0bbaa5942b604c3 /src/emu/sound/ymf262.c
parentbbac5a66b24aae68a2822fc4d3fcb17b63c704ab (diff)
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.
Diffstat (limited to 'src/emu/sound/ymf262.c')
-rw-r--r--src/emu/sound/ymf262.c3
1 files changed, 2 insertions, 1 deletions
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 <math.h>
#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");
}