summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron/pwrjoy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/electron/pwrjoy.cpp')
-rw-r--r--src/devices/bus/electron/pwrjoy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/electron/pwrjoy.cpp b/src/devices/bus/electron/pwrjoy.cpp
index 42919f378ec..2791f700372 100644
--- a/src/devices/bus/electron/pwrjoy.cpp
+++ b/src/devices/bus/electron/pwrjoy.cpp
@@ -84,7 +84,7 @@ uint8_t electron_pwrjoy_device::expbus_r(address_space &space, offs_t offset, ui
{
if (m_romsel == 15)
{
- data = memregion("exp_rom")->base()[offset & 0x1fff];
+ data = m_exp_rom->base()[offset & 0x1fff];
}
}
else if (offset == 0xfcc0)