mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
2e8c1096fd
Replace the unimplemented stubs with a working NONE -> INITIALIZED -> RUNNING -> FINISHED state machine for the message dialog PRX. Open() best-effort parses the SceMsgDialogParam layout to pick a sensible default button (auto-focus-no variants answer No, everything else answers Yes/OK), then auto-finishes the dialog after a couple of status polls so a title that waits on a dialog for user input never blocks forever. Progress-bar mode is instead closed by the title itself via sceMsgDialogClose, with a time cap as a safety net. GetResult now fills in a real SceMsgDialogResult (mode/result/buttonId) instead of leaving the caller's buffer untouched.