Remove redundant checks that are in the BIOS code already
Jeffrey Pfau jeffrey@endrift.com
Sat, 05 Jul 2014 01:03:04 -0700
1 files changed,
0 insertions(+),
7 deletions(-)
jump to
M
src/gba/gba-bios.c
→
src/gba/gba-bios.c
@@ -118,16 +118,9 @@ GBAHalt(gba);
break; case 0x05: // VBlankIntrWait - cpu->gprs[0] = 1; - cpu->gprs[1] = 1; // Fall through: case 0x04: // IntrWait - gba->memory.io[REG_IME >> 1] = 1; - if (!cpu->gprs[0] && gba->memory.io[REG_IF >> 1] & cpu->gprs[1]) { - break; - } - gba->memory.io[REG_IF >> 1] = 0; ARMRaiseSWI(cpu); break; case 0x6: