mirror of https://github.com/mgba-emu/mgba.git
GBA: Bump idle detection down to idle removal if a pre-vetted idle loop is known
This commit is contained in:
parent
075308e837
commit
e1fc839ed8
|
@ -196,4 +196,7 @@ void GBAOverrideApply(struct GBA* gba, const struct GBACartridgeOverride* overri
|
|||
}
|
||||
|
||||
gba->idleLoop = override->idleLoop;
|
||||
if (override->idleLoop != 0xFFFFFFFF && gba->idleOptimization == IDLE_LOOP_DETECT) {
|
||||
gba->idleOptimization = IDLE_LOOP_REMOVE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue