mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Implement thread_state::errored
State after calling thread emergency_exit() function. Also default-construct thread result in this case.
This commit is contained in:
parent
eb2dcaf602
commit
c577bd2111
5 changed files with 50 additions and 15 deletions
|
@ -621,7 +621,7 @@ bool Emulator::InstallPkg(const std::string& path)
|
|||
|
||||
{
|
||||
// Wait for the completion
|
||||
while (std::this_thread::sleep_for(5ms), worker != thread_state::finished)
|
||||
while (std::this_thread::sleep_for(5ms), worker <= thread_state::aborting)
|
||||
{
|
||||
// TODO: update unified progress dialog
|
||||
double pval = progress;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue