summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/hyprolyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/hyprolyb.c')
-rw-r--r--src/mame/audio/hyprolyb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/hyprolyb.c b/src/mame/audio/hyprolyb.c
index 62c49a2b79b..88948ff6fe4 100644
--- a/src/mame/audio/hyprolyb.c
+++ b/src/mame/audio/hyprolyb.c
@@ -25,8 +25,8 @@ static DEVICE_START( hyprolyb_adpcm )
{
hyprolyb_adpcm_state *state = get_safe_token(device);
- state->space = device->machine->device("audiocpu")->memory().space(AS_PROGRAM);
- state->msm = device->machine->device("msm");
+ state->space = device->machine().device("audiocpu")->memory().space(AS_PROGRAM);
+ state->msm = device->machine().device("msm");
device->save_item(NAME(state->adpcm_ready)); // only bootlegs
device->save_item(NAME(state->adpcm_busy));
device->save_item(NAME(state->vck_ready));
@@ -113,7 +113,7 @@ ADDRESS_MAP_END
static void adpcm_vck_callback( device_t *device )
{
- device_t *adpcm = device->machine->device("hyprolyb_adpcm");
+ device_t *adpcm = device->machine().device("hyprolyb_adpcm");
hyprolyb_adpcm_state *state = get_safe_token(adpcm);
state->vck_ready = 0x80;