diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-01 23:39:04 -0800 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-01 23:39:04 -0800 |
| commit | 16c609dcd45780a1cc97660d6e8a23936f9adfe3 (patch) | |
| tree | 6347c38b626a0ec33e961cb2d6ccb56ba5aebed2 /Source/Android/jni/MainAndroid.cpp | |
| parent | 5a81916ee9b4197c421937e8d8096cbd22c2820d (diff) | |
BootManager: Avoid Global System Accessor
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 6a74cabd87..827b535c8f 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -570,7 +570,7 @@ static void Run(JNIEnv* env, std::unique_ptr<BootParameters>&& boot, bool riivol s_need_nonblocking_alert_msg = true; std::unique_lock<std::mutex> surface_guard(s_surface_lock); - if (BootManager::BootCore(std::move(boot), wsi)) + if (BootManager::BootCore(Core::System::GetInstance(), std::move(boot), wsi)) { static constexpr int WAIT_STEP = 25; while (Core::GetState() == Core::State::Starting) |
