From 606ad74481b5c665195a037c7998629c90ec6d66 Mon Sep 17 00:00:00 2001 From: frysee Date: Tue, 20 May 2025 01:48:38 +0200 Subject: [PATCH] feat: return to game switcher when quitting game launched from game switcher --- workspace/all/nextui/nextui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace/all/nextui/nextui.c b/workspace/all/nextui/nextui.c index f60cefef3..0dd81bd40 100644 --- a/workspace/all/nextui/nextui.c +++ b/workspace/all/nextui/nextui.c @@ -1662,6 +1662,8 @@ int main (int argc, char *argv[]) { dirty = 1; } else if (recents->count > 0 && PAD_justReleased(BTN_A)) { + // this will drop us back into game switcher after leaving the game + putFile(GAME_SWITCHER_PERSIST_PATH, "unused"); // TODO: This is crappy af - putting this here since it works, but // super inefficient. Why are Recents not decorated with type, and need // to be remade into Entries via getRecents()? - need to understand the