summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/centiped.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/centiped.c')
-rw-r--r--src/mame/drivers/centiped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/centiped.c b/src/mame/drivers/centiped.c
index 9dff8f1ed29..16ee897961b 100644
--- a/src/mame/drivers/centiped.c
+++ b/src/mame/drivers/centiped.c
@@ -612,7 +612,7 @@ WRITE8_MEMBER(centiped_state::mazeinv_input_select_w)
READ8_MEMBER(centiped_state::bullsdrt_data_port_r)
{
- switch (cpu_get_pc(&space.device()))
+ switch (space.device().safe_pc())
{
case 0x0033:
case 0x6b19: