all repos — mgba @ e1fc839ed84c8a3b58f1184d391a6df714eac0b1

mGBA Game Boy Advance Emulator

GBA: Bump idle detection down to idle removal if a pre-vetted idle loop is known
Jeffrey Pfau jeffrey@endrift.com
Sat, 24 Jan 2015 13:36:53 -0800
commit

e1fc839ed84c8a3b58f1184d391a6df714eac0b1

parent

075308e837ea70061044e6a6bc0b1b3015ccb084

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/gba/gba-overrides.csrc/gba/gba-overrides.c

@@ -196,4 +196,7 @@ GBAGPIOInitTilt(&gba->memory.gpio);

} gba->idleLoop = override->idleLoop; + if (override->idleLoop != 0xFFFFFFFF && gba->idleOptimization == IDLE_LOOP_DETECT) { + gba->idleOptimization = IDLE_LOOP_REMOVE; + } }