summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/segaic16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/segaic16.c')
-rw-r--r--src/mame/machine/segaic16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/segaic16.c b/src/mame/machine/segaic16.c
index 72f53ccb88e..44cc8e5f611 100644
--- a/src/mame/machine/segaic16.c
+++ b/src/mame/machine/segaic16.c
@@ -102,7 +102,7 @@ READ16_MEMBER( sega_16bit_common_base::open_bus_r )
// read original encrypted memory at that address
m_open_bus_recurse = true;
- UINT16 result = space.read_word(cpu_get_pc(&space.device()));
+ UINT16 result = space.read_word(space.device().safe_pc());
m_open_bus_recurse = false;
return result;
}