diff options
Diffstat (limited to 'src/mame/drivers/mpu5hw.c')
-rw-r--r-- | src/mame/drivers/mpu5hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mpu5hw.c b/src/mame/drivers/mpu5hw.c index b1f7d6d4c1c..0f692b44b57 100644 --- a/src/mame/drivers/mpu5hw.c +++ b/src/mame/drivers/mpu5hw.c @@ -64,7 +64,7 @@ protected: READ32_MEMBER(mpu5_state::mpu5_mem_r) { - int pc = cpu_get_pc(&space.device()); + int pc = space.device().safe_pc(); int cs = m68340_get_cs(m_maincpu, offset * 4); switch ( cs ) @@ -86,7 +86,7 @@ READ32_MEMBER(mpu5_state::mpu5_mem_r) WRITE32_MEMBER(mpu5_state::mpu5_mem_w) { - int pc = cpu_get_pc(&space.device()); + int pc = space.device().safe_pc(); int cs = m68340_get_cs(m_maincpu, offset * 4); switch ( cs ) |