diff options
author | 2008-12-04 10:44:15 +0000 | |
---|---|---|
committer | 2008-12-04 10:44:15 +0000 | |
commit | 78622af0ebcb0e21a20c253bdc559734fd1994ed (patch) | |
tree | 691e1b3c3820f8161c2f56270a10df3d1ba1a7fe /src/emu/sound/c140.c | |
parent | 5b45ad478fc2806e8a83f2e6687e45e0a85d95a5 (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/c140.c')
-rw-r--r-- | src/emu/sound/c140.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/sound/c140.c b/src/emu/sound/c140.c index e1b71222ca2..e691b51e744 100644 --- a/src/emu/sound/c140.c +++ b/src/emu/sound/c140.c @@ -45,7 +45,6 @@ Unmapped registers: #include <math.h> #include "sndintrf.h" -#include "deprecat.h" #include "streams.h" #include "c140.h" @@ -469,7 +468,7 @@ static SND_START( c140 ) info->stream = stream_create(0,2,info->sample_rate,info,update_stereo); - info->pRom=memory_region(Machine, tag); + info->pRom=memory_region(device->machine, tag); /* make decompress pcm table */ //2000.06.26 CAB { |