summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gaelco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gaelco.c')
-rw-r--r--src/mame/drivers/gaelco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gaelco.c b/src/mame/drivers/gaelco.c
index 4b989f356ec..6111c9801d6 100644
--- a/src/mame/drivers/gaelco.c
+++ b/src/mame/drivers/gaelco.c
@@ -61,7 +61,7 @@ WRITE16_MEMBER(gaelco_state::bigkarnk_coin_w)
WRITE16_MEMBER(gaelco_state::OKIM6295_bankswitch_w)
{
- UINT8 *RAM = machine().region("oki")->base();
+ UINT8 *RAM = memregion("oki")->base();
if (ACCESSING_BITS_0_7)
{