diff options
Diffstat (limited to 'src/mame/drivers/starwars.c')
-rw-r--r-- | src/mame/drivers/starwars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/starwars.c b/src/mame/drivers/starwars.c index 210268aceed..deb3014c409 100644 --- a/src/mame/drivers/starwars.c +++ b/src/mame/drivers/starwars.c @@ -125,7 +125,7 @@ DIRECT_UPDATE_MEMBER(starwars_state::esb_setdirect) /* if we are in the slapstic region, process it */ if ((address & 0xe000) == 0x8000) { - offs_t pc = cpu_get_pc(&direct.space().device()); + offs_t pc = direct.space().device().safe_pc(); /* filter out duplicates; we get these because the handler gets called for multiple reasons: |