mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
rsx/overlays: Introduce 'native' HUD UI and implement some common dialogs (#4011)
This commit is contained in:
parent
34c49c77b2
commit
71f69d1d48
56 changed files with 3682 additions and 213 deletions
|
|
@ -355,18 +355,7 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version,
|
|||
while (funcList)
|
||||
{
|
||||
// Display Save Data List asynchronously in the GUI thread.
|
||||
atomic_t<bool> dlg_result(false);
|
||||
|
||||
Emu.CallAfter([&]()
|
||||
{
|
||||
selected = Emu.GetCallbacks().get_save_dialog()->ShowSaveDataList(save_entries, focused, operation, listSet);
|
||||
dlg_result = true;
|
||||
});
|
||||
|
||||
while (!dlg_result)
|
||||
{
|
||||
thread_ctrl::wait_for(1000);
|
||||
}
|
||||
selected = Emu.GetCallbacks().get_save_dialog()->ShowSaveDataList(save_entries, focused, operation, listSet);
|
||||
|
||||
// UI returns -1 for new save games
|
||||
if (selected == -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue