summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/k005289.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-04 10:44:15 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-04 10:44:15 +0000
commit78622af0ebcb0e21a20c253bdc559734fd1994ed (patch)
tree691e1b3c3820f8161c2f56270a10df3d1ba1a7fe /src/emu/sound/k005289.c
parent5b45ad478fc2806e8a83f2e6687e45e0a85d95a5 (diff)
This patch furthers the process of aligning the sound cores with the
recent cpu core changes. Specifically, it adds a fake device implementation similar to the one the cpu cores were using in 128u3 (i.e. it only provides the machine pointer and the token), and makes some interface adjustments aligned to 128u4 (i.e. adding snd_class_header, adding get_ to various getter functions). The primary benefit of this change is the removal of "deprecat.h" from 23 sound cores. I also adjusted ui.c to stop calling sndnum_clock and access the clock data similarly to how it does the cpu clock data. [AtariAce]
Diffstat (limited to 'src/emu/sound/k005289.c')
-rw-r--r--src/emu/sound/k005289.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/sound/k005289.c b/src/emu/sound/k005289.c
index 0948641a29c..02147d3fd42 100644
--- a/src/emu/sound/k005289.c
+++ b/src/emu/sound/k005289.c
@@ -26,7 +26,6 @@
***************************************************************************/
#include "sndintrf.h"
-#include "deprecat.h"
#include "streams.h"
#include "k005289.h"
@@ -172,7 +171,7 @@ static SND_START( k005289 )
if (make_mixer_table(info, 2))
return NULL;
- info->sound_prom = memory_region(Machine, tag);
+ info->sound_prom = memory_region(device->machine, tag);
/* reset all the voices */
voice[0].frequency = 0;