summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cyclemb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cyclemb.c')
-rw-r--r--src/mame/drivers/cyclemb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cyclemb.c b/src/mame/drivers/cyclemb.c
index e3bbadd64e8..cfd670c1774 100644
--- a/src/mame/drivers/cyclemb.c
+++ b/src/mame/drivers/cyclemb.c
@@ -101,7 +101,7 @@ public:
static PALETTE_INIT( cyclemb )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i,r,g,b,val;
int bit0,bit1,bit2;
@@ -613,7 +613,7 @@ ROM_END
static DRIVER_INIT( cyclemb )
{
- machine.root_device().membank("bank1")->configure_entries(0, 4, machine.region("maincpu")->base() + 0x10000, 0x1000);
+ machine.root_device().membank("bank1")->configure_entries(0, 4, machine.root_device().memregion("maincpu")->base() + 0x10000, 0x1000);
}
GAME( 1984, cyclemb, 0, cyclemb, cyclemb, cyclemb, ROT0, "Taito Corporation", "Cycle Mahbou (Japan)", GAME_NOT_WORKING )