diff options
Diffstat (limited to 'src/mame/video/suna16.c')
-rw-r--r-- | src/mame/video/suna16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/suna16.c b/src/mame/video/suna16.c index 93e66cd96bf..730a67012d1 100644 --- a/src/mame/video/suna16.c +++ b/src/mame/video/suna16.c @@ -67,7 +67,7 @@ WRITE16_MEMBER(suna16_state::suna16_flipscreen_w) flip_screen_set(data & 1 ); m_color_bank = ( data & 4 ) >> 2; } - if (data & ~(1|4)) logerror("CPU#0 PC %06X - Flip screen unknown bits: %04X\n", cpu_get_pc(&space.device()), data); + if (data & ~(1|4)) logerror("CPU#0 PC %06X - Flip screen unknown bits: %04X\n", space.device().safe_pc(), data); } WRITE16_MEMBER(suna16_state::bestbest_flipscreen_w) @@ -77,7 +77,7 @@ WRITE16_MEMBER(suna16_state::bestbest_flipscreen_w) flip_screen_set(data & 0x10 ); //m_color_bank = ( data & 0x07 ); } - if (data & ~(0x10)) logerror("CPU#0 PC %06X - Flip screen unknown bits: %04X\n", cpu_get_pc(&space.device()), data); + if (data & ~(0x10)) logerror("CPU#0 PC %06X - Flip screen unknown bits: %04X\n", space.device().safe_pc(), data); } |