Crash fix attempt - Successfully! (#32)

* Do not build here, since this could potential crash more things.

* Crash fix!

Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
This commit is contained in:
Stackie
2020-05-29 07:28:08 +02:00
committed by GitHub
parent 8a16751a8f
commit a0251da39f
5 changed files with 24666 additions and 22692 deletions
+2 -1
View File
@@ -380,8 +380,8 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
DropDownLogic(hDown, hHeld, touch);
} else {
if ((hDown & KEY_B) || (hDown & KEY_TOUCH && touching(touch, arrowPos[2]))) {
infoJson.clear();
Gui::screenBack(Config::fading);
return;
}
if (mode == 0) {
if ((hHeld & KEY_DOWN && !keyRepeatDelay) || (hDown & KEY_TOUCH && touching(touch, arrowPos[1]))) {
@@ -522,6 +522,7 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
} else {
if (hDown & KEY_B) {
Gui::screenBack(Config::fading);
return;
}
}
}