diff options
Diffstat (limited to 'src/mame/machine/acitya.c')
-rw-r--r-- | src/mame/machine/acitya.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/acitya.c b/src/mame/machine/acitya.c index 5b0e08c6904..5866e5ab03e 100644 --- a/src/mame/machine/acitya.c +++ b/src/mame/machine/acitya.c @@ -184,7 +184,7 @@ READ8_HANDLER( acitya_decrypt_rom ) MACHINE_START( acitya ) { pacman_state *state = machine.driver_data<pacman_state>(); - UINT8 *RAM = machine.root_device().memregion("maincpu")->base(); + UINT8 *RAM = state->memregion("maincpu")->base(); /* While the PAL supports up to 16 decryption methods, only four are actually used in the PAL. Therefore, we'll take a little |