Emulation stopping bugfix

This commit is contained in:
Eladash 2021-05-14 11:21:22 +03:00 committed by Ivan
parent 6dca588370
commit cacb852a1e
2 changed files with 2 additions and 2 deletions

View File

@ -953,7 +953,7 @@ void ppu_thread::cpu_task()
// Wait until the progress dialog is closed.
// We don't want to open a cell dialog while a native progress dialog is still open.
g_progr_ptotal.wait<atomic_wait::op_ne>(0);
thread_ctrl::wait_on<atomic_wait::op_ne>(g_progr_ptotal, 0);
g_fxo->get<progress_dialog_workaround>().skip_the_progress_dialog = true;
break;

View File

@ -421,7 +421,7 @@ void spu_cache::initialize()
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit || g_cfg.core.spu_decoder == spu_decoder_type::llvm)
{
// Initialize progress dialog (wait for previous progress done)
g_progr_ptotal.wait<atomic_wait::op_ne>(0);
thread_ctrl::wait_on<atomic_wait::op_ne>(g_progr_ptotal, 0);
g_progr_ptotal += ::size32(func_list);
progr.emplace("Building SPU cache...");