summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/multipcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/multipcm.c')
-rw-r--r--src/emu/sound/multipcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c
index cc346ba80ba..557cf02da50 100644
--- a/src/emu/sound/multipcm.c
+++ b/src/emu/sound/multipcm.c
@@ -126,7 +126,7 @@ static const int val2chan[] =
#define MULTIPCM_RATE 44100.0
-INLINE MultiPCM *get_safe_token(const device_config *device)
+INLINE MultiPCM *get_safe_token(running_device *device)
{
assert(device != NULL);
assert(device->token != NULL);
@@ -667,7 +667,7 @@ WRITE8_DEVICE_HANDLER( multipcm_w )
/* MAME/M1 access functions */
-void multipcm_set_bank(const device_config *device, UINT32 leftoffs, UINT32 rightoffs)
+void multipcm_set_bank(running_device *device, UINT32 leftoffs, UINT32 rightoffs)
{
MultiPCM *ptChip = get_safe_token(device);
ptChip->BankL = leftoffs;