Workaround: Skip progress_dialog during gameplay

This commit is contained in:
Megamouse 2021-04-06 20:05:16 +02:00 committed by Ivan
parent 497fbb17a8
commit 02febd3f65
4 changed files with 16 additions and 5 deletions

View file

@ -420,10 +420,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)
while (g_progr_ptotal)
{
g_progr_ptotal.wait<atomic_wait::op_ne>(0);
}
g_progr_ptotal.wait<atomic_wait::op_ne>(0);
g_progr_ptotal += ::size32(func_list);
progr.emplace("Building SPU cache...");