mirror of
https://github.com/DarkStore-3DS/Universal-Core.git
synced 2026-07-03 00:39:23 +00:00
Fix ScreenLogic waitFade logic.
This commit is contained in:
@@ -308,7 +308,12 @@ void Gui::DrawScreen(bool stack) {
|
|||||||
void Gui::ScreenLogic(u32 hDown, u32 hHeld, touchPosition touch, bool waitFade, bool stack) {
|
void Gui::ScreenLogic(u32 hDown, u32 hHeld, touchPosition touch, bool waitFade, bool stack) {
|
||||||
if (waitFade) {
|
if (waitFade) {
|
||||||
if (!fadein && !fadeout && !fadein2 && !fadeout2) {
|
if (!fadein && !fadeout && !fadein2 && !fadeout2) {
|
||||||
if (!stack) if (usedScreen) usedScreen->Logic(hDown, hHeld, touch);
|
if (!stack) {
|
||||||
|
if (usedScreen) usedScreen->Logic(hDown, hHeld, touch);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch);
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch);
|
if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch);
|
||||||
|
|||||||
Reference in New Issue
Block a user