We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a1700 commit b2e15cbCopy full SHA for b2e15cb
title/arm9/source/main.cpp
@@ -2723,6 +2723,22 @@ int titleMode(void)
2723
}
2724
2725
scanKeys();
2726
+ if (keysHeld() & KEY_B) {
2727
+ // Indicate that the B button was held
2728
+ if (!ms().macroMode) {
2729
+ powerOff(PM_BACKLIGHT_TOP);
2730
+ }
2731
+ powerOff(PM_BACKLIGHT_BOTTOM);
2732
+
2733
+ for (int i = 0; i < 5; i++) {
2734
+ swiWaitForVBlank();
2735
2736
2737
2738
+ powerOn(PM_BACKLIGHT_TOP);
2739
2740
+ powerOn(PM_BACKLIGHT_BOTTOM);
2741
2742
2743
autoRunBit = (*(u32*)0x02000000 & BIT(3));
2744
runTempDSiWare = (*(u32*)0x02000000 & BIT(4));
0 commit comments