summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/witch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/witch.c')
-rw-r--r--src/mame/drivers/witch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/witch.c b/src/mame/drivers/witch.c
index 5057ee323fb..f8647ff831c 100644
--- a/src/mame/drivers/witch.c
+++ b/src/mame/drivers/witch.c
@@ -413,7 +413,7 @@ READ8_MEMBER(witch_state::prot_read_700x)
Otherwise later in game some I/O (controls) reads are skipped.
*/
- switch(cpu_get_pc(&space.device()))
+ switch(space.device().safe_pc())
{
case 0x23f:
case 0x246: