3DS: Press X to go back to homebrew menu

This commit is contained in:
Jeffrey Pfau 2014-12-10 05:38:31 -08:00
parent 5f7bbb1c4d
commit d931dab37c
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ int main() {
gspWaitForVBlank(); gspWaitForVBlank();
hidScanInput(); hidScanInput();
activeKeys = hidKeysHeld() & 0x3FF; activeKeys = hidKeysHeld() & 0x3FF;
if (hidKeysDown() & KEY_X) {
break;
}
} }
} }
inVblank = GBARegisterDISPSTATGetInVblank(gba->video.dispstat); inVblank = GBARegisterDISPSTATGetInVblank(gba->video.dispstat);