From 3ec8afc507f523381479c5eb54868a963d3e562d Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 14 Jan 2015 00:51:37 -0800 Subject: [PATCH] GBA BIOS: Fix BIOS prefetch after returning from an HLE SWI --- src/gba/gba-bios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/gba-bios.c b/src/gba/gba-bios.c index 2b52cd94a..6a9855e04 100644 --- a/src/gba/gba-bios.c +++ b/src/gba/gba-bios.c @@ -221,6 +221,7 @@ void GBASwi16(struct ARMCore* cpu, int immediate) { default: GBALog(gba, GBA_LOG_STUB, "Stub software interrupt: %02X", immediate); } + gba->memory.biosPrefetch = 0xE3A02004; } void GBASwi32(struct ARMCore* cpu, int immediate) {