GBA: Bump idle detection down to idle removal if a pre-vetted idle loop is known

This commit is contained in:
Jeffrey Pfau 2015-01-24 13:36:53 -08:00
parent 075308e837
commit e1fc839ed8
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}