summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gba.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gba.cpp')
-rw-r--r--src/mame/drivers/gba.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/drivers/gba.cpp b/src/mame/drivers/gba.cpp
index 1fbb615a811..af7fe7991f4 100644
--- a/src/mame/drivers/gba.cpp
+++ b/src/mame/drivers/gba.cpp
@@ -1181,6 +1181,10 @@ READ32_MEMBER(gba_state::gba_10000000_r)
{
uint32_t data;
uint32_t pc = m_maincpu->state_int(ARM7_PC);
+ if (pc >= 0x10000000)
+ {
+ return 0;
+ }
uint32_t cpsr = m_maincpu->state_int(ARM7_CPSR);
if (T_IS_SET( cpsr))
{