summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pokechmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pokechmp.c')
-rw-r--r--src/mame/drivers/pokechmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pokechmp.c b/src/mame/drivers/pokechmp.c
index 4f052fc20c0..05ff356853b 100644
--- a/src/mame/drivers/pokechmp.c
+++ b/src/mame/drivers/pokechmp.c
@@ -53,7 +53,7 @@ ClawGrip, Jul 2006
WRITE8_MEMBER(pokechmp_state::pokechmp_bank_w)
{
- UINT8 *RAM = machine().region("maincpu")->base();
+ UINT8 *RAM = memregion("maincpu")->base();
if (data == 0x00)
{
@@ -262,7 +262,7 @@ MACHINE_CONFIG_END
static DRIVER_INIT( pokechmp )
{
- machine.root_device().membank("bank3")->configure_entries(0, 2, machine.region("audiocpu")->base() + 0x10000, 0x4000);
+ machine.root_device().membank("bank3")->configure_entries(0, 2, machine.root_device().memregion("audiocpu")->base() + 0x10000, 0x4000);
}