mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Fix startup on Android, oops
Forgot that we can't create android-compatible threads in global constructors, for JNI reasons.
This commit is contained in:
1 parent
f73df3a4da
commit
e5d00ce493
7 files changed
+35
-19
No files matched your search
@@ -108,6 +108,7 @@
|
||||
#include "Core/Util/GameManager.h"
|
||||
#include "Core/Util/PortManager.h"
|
||||
#include "Core/Util/AudioFormat.h"
|
||||
#include "Core/Util/RecentFiles.h"
|
||||
#include "Core/WebServer.h"
|
||||
#include "Core/TiltEventProcessor.h"
|
||||
|
||||
@@ -341,6 +342,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
|
||||
g_threadManager.Init(cpu_info.num_cores, cpu_info.logical_cpu_count);
|
||||
|
||||
g_recentFiles.EnsureThread();
|
||||
|
||||
// Make sure UI state is MENU.
|
||||
ResetUIState();
|
||||
|
||||
|
||||
Reference in new issue
Block a user