mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
overlays: add ppu compile message if the progress dialog is unavailable
This commit is contained in:
parent
6d7d3fff6d
commit
2d4e02f277
13 changed files with 79 additions and 38 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "Emu/RSX/RSXThread.h"
|
||||
#include "Emu/RSX/Overlays/overlay_manager.h"
|
||||
#include "Emu/RSX/Overlays/overlay_message_dialog.h"
|
||||
#include "Emu/RSX/Overlays/overlay_message.h"
|
||||
#include "Emu/RSX/Overlays/overlay_compile_notification.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
LOG_CHANNEL(sys_log, "SYS");
|
||||
|
@ -141,7 +143,8 @@ void progress_dialog_server::operator()()
|
|||
|
||||
if (skip_this_one)
|
||||
{
|
||||
// Do nothing
|
||||
// Show a message instead
|
||||
rsx::overlays::show_ppu_compile_notification();
|
||||
thread_ctrl::wait_for(10000);
|
||||
continue;
|
||||
}
|
||||
|
@ -177,6 +180,12 @@ void progress_dialog_server::operator()()
|
|||
}
|
||||
}
|
||||
|
||||
if (skip_this_one)
|
||||
{
|
||||
// Make sure to update any pending messages. PPU compilation may freeze the image.
|
||||
rsx::overlays::refresh_message_queue();
|
||||
}
|
||||
|
||||
thread_ctrl::wait_for(10000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue