summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/mface2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/mface2.c')
-rw-r--r--src/mess/machine/mface2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/mface2.c b/src/mess/machine/mface2.c
index b8269761968..cb09c8e665b 100644
--- a/src/mess/machine/mface2.c
+++ b/src/mess/machine/mface2.c
@@ -39,7 +39,7 @@ DIRECT_UPDATE_MEMBER( cpc_multiface2_device::amstrad_multiface_directoverride )
{
int pc;
- pc = cpu_get_pc(machine().device("maincpu"));
+ pc = machine().device("maincpu")->safe_pc();
/* there are two places where CALL &0065 can be found
in the multiface rom. At this address there is a RET.