summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mouser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mouser.c')
-rw-r--r--src/mame/drivers/mouser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mouser.c b/src/mame/drivers/mouser.c
index f4a36edfea3..eaf32f1f255 100644
--- a/src/mame/drivers/mouser.c
+++ b/src/mame/drivers/mouser.c
@@ -295,9 +295,9 @@ static DRIVER_INIT( mouser )
offs_t i;
address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM);
- UINT8 *rom = machine.region("maincpu")->base();
+ UINT8 *rom = machine.root_device().memregion("maincpu")->base();
UINT8 *decrypted = auto_alloc_array(machine, UINT8, 0x6000);
- UINT8 *table = machine.region("user1")->base();
+ UINT8 *table = machine.root_device().memregion("user1")->base();
space->set_decrypted_region(0x0000, 0x5fff, decrypted);