From fcfa3f9040bf36607b2b406c67729b5dc81a7e87 Mon Sep 17 00:00:00 2001 From: SirHumza <204067870+SirHumza@users.noreply.github.com> Date: Thu, 24 Sep 2026 20:40:53 +0200 Subject: [PATCH] installer: settle delay before first dialog (fixes flash-dismiss) --- installer/installer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer/installer.c b/installer/installer.c index 43a72c2..6304d6e 100644 --- a/installer/installer.c +++ b/installer/installer.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "ui.h" #include "send.h" #include "icfg.h" @@ -192,6 +193,10 @@ static void step_inject(void){ int main(void){ int q; if(ui_init() != 0) return 1; + /* Let the system finish bringing the app to foreground before the + * first dialog: opening one mid-transition gets auto-dismissed + * (looks like a half-second flash, then the app exits). */ + sceKernelSleep(3); q = ui_confirm("Install orbisRPC?\n\nCopies the daemon, sets up config, checks WiFi, saves your token, and starts it."); if(q != 1) return 0; if(step_files() != 0) return 1;