diff options
Diffstat (limited to 'src/mame/drivers/gba.cpp')
-rw-r--r-- | src/mame/drivers/gba.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/gba.cpp b/src/mame/drivers/gba.cpp index a2c4f35ff8b..dbd69b29c38 100644 --- a/src/mame/drivers/gba.cpp +++ b/src/mame/drivers/gba.cpp @@ -1144,8 +1144,9 @@ READ32_MEMBER(gba_state::gba_bios_r) return 0; } - if (m_maincpu->state_int(ARM7_PC) >= 0x4000) + if (m_maincpu->pc() >= 0x4000) { + //printf("GBA protection: blocking PC=%x\n", m_maincpu->pc()); return 0; } |