mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix running the CPU test from the UI.
This commit is contained in:
1 parent
604b3c3e97
commit
1a97f62dc9
5 files changed
+37
-21
No files matched your search
+3
-1
@@ -29,6 +29,7 @@
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
|
||||
#include "base/timeutil.h"
|
||||
#include "math/math_util.h"
|
||||
#include "thread/threadutil.h"
|
||||
#include "util/text/utf8.h"
|
||||
@@ -465,7 +466,8 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string) {
|
||||
CPU_WaitStatus(cpuThreadReplyCond, &CPU_IsReady);
|
||||
}
|
||||
|
||||
PSP_InitUpdate(error_string);
|
||||
while (!PSP_InitUpdate(error_string))
|
||||
sleep_ms(10);
|
||||
return pspIsInited;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user