mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-09 06:03:35 +02:00
Fix lifecycle-notification assert problem (was called from wrong thread)
This commit is contained in:
+2
-2
@@ -585,6 +585,8 @@ bool PSP_InitStart(const CoreParameter &coreParam) {
|
||||
|
||||
_assert_msg_(!g_loadingThread.joinable(), "%s", coreParam.fileToStart.c_str());
|
||||
|
||||
Core_NotifyLifecycle(CoreLifecycle::STARTING);
|
||||
|
||||
g_loadingThread = std::thread([error_string]() {
|
||||
SetCurrentThreadName("ExecLoader");
|
||||
|
||||
@@ -592,8 +594,6 @@ bool PSP_InitStart(const CoreParameter &coreParam) {
|
||||
|
||||
NOTICE_LOG(Log::Boot, "PPSSPP %s", PPSSPP_GIT_VERSION);
|
||||
|
||||
Core_NotifyLifecycle(CoreLifecycle::STARTING);
|
||||
|
||||
Path filename = g_CoreParameter.fileToStart;
|
||||
FileLoader *loadedFile = ResolveFileLoaderTarget(ConstructFileLoader(filename));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user