summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/fmopl.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/fmopl.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/fmopl.c')
-rw-r--r--src/emu/sound/fmopl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/fmopl.c b/src/emu/sound/fmopl.c
index 906e742df2f..aa51e942ddb 100644
--- a/src/emu/sound/fmopl.c
+++ b/src/emu/sound/fmopl.c
@@ -1745,7 +1745,7 @@ static int OPL_LockTable(void)
{
cymfile = fopen("3812_.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 file 3812_.cym\n");
}