mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Progress Dialog: Fix recursion and concurrency use of text updates
This commit is contained in:
parent
1475625705
commit
68d74bc28a
11 changed files with 273 additions and 98 deletions
|
@ -938,7 +938,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
|||
|
||||
if (is_first_thread && !showing_progress)
|
||||
{
|
||||
if (!g_progr_text.load() && !g_progr_ptotal && !g_progr_ftotal)
|
||||
if (!g_progr_text && !g_progr_ptotal && !g_progr_ftotal)
|
||||
{
|
||||
showing_progress = true;
|
||||
g_progr_pdone += pending_progress.exchange(0);
|
||||
|
@ -1115,7 +1115,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
|||
|
||||
if (is_first_thread && !showing_progress)
|
||||
{
|
||||
if (!g_progr_text.load() && !g_progr_ptotal && !g_progr_ftotal)
|
||||
if (!g_progr_text && !g_progr_ptotal && !g_progr_ftotal)
|
||||
{
|
||||
showing_progress = true;
|
||||
g_progr_pdone += pending_progress.exchange(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue