mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 10:00:36 +02:00
installer: X to enter, O to back (YESNO focused on Yes)
This commit is contained in:
1 parent
be276b00a3
commit
fc21933a30
2 files changed
+7
-1
No files matched your search
@@ -22,6 +22,10 @@ boot proof to go wrong.
|
||||
No branch ever returns to start. Cancel/skip always moves forward. The only
|
||||
exits are Done, explicit close, or a payload write failure.
|
||||
|
||||
Buttons: X = enter, O = back. The confirm dialog uses `YESNO` focused on
|
||||
Yes — the OpenOrbis default `YESNO_FOCUS_NO` puts the console's confirm
|
||||
button on No, which inverts the whole wizard.
|
||||
|
||||
## Console facts encoded
|
||||
|
||||
- Splash must hide before dialogs (`sceSystemServiceHideSplashScreen`) +
|
||||
|
||||
+3
-1
@@ -88,7 +88,9 @@ int ui_confirm(const char *msg){
|
||||
base_init(¶m);
|
||||
memset(&um, 0, sizeof um);
|
||||
um.msg = msg;
|
||||
um.buttonType = ORBIS_MSG_DIALOG_BUTTON_TYPE_YESNO_FOCUS_NO;
|
||||
/* X = enter (Yes focused), O = back/decline. The default FOCUS_NO
|
||||
* variant puts the confirm button on No, which inverts the wizard. */
|
||||
um.buttonType = ORBIS_MSG_DIALOG_BUTTON_TYPE_YESNO;
|
||||
param.userMsgParam = &um;
|
||||
if(sceMsgDialogOpen(¶m) < 0){ sceMsgDialogTerminate(); return -1; }
|
||||
do { } while(sceMsgDialogUpdateStatus() != ORBIS_COMMON_DIALOG_STATUS_FINISHED);
|
||||
|
||||
Reference in new issue
Block a user