summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/crystal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/crystal.cpp')
-rw-r--r--src/mame/drivers/crystal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/crystal.cpp b/src/mame/drivers/crystal.cpp
index d8494ec7e5f..eca562f6d6f 100644
--- a/src/mame/drivers/crystal.cpp
+++ b/src/mame/drivers/crystal.cpp
@@ -421,7 +421,7 @@ WRITE32_MEMBER(crystal_state::IntAck_w)
IRQ_CALLBACK_MEMBER(crystal_state::icallback)
{
- address_space &space = device.memory().space(AS_PROGRAM);
+ address_space &space = m_maincpu->space(AS_PROGRAM);
uint32_t IntPend = space.read_dword(0x01800c0c);
int i;