diff options
| author | 2023-09-14 21:25:17 -0400 | |
|---|---|---|
| committer | 2023-09-14 21:25:17 -0400 | |
| commit | e8aaab2fc166338be10978223a8426fab5f56b27 (patch) | |
| tree | 8274faee36a572c5ba0244a8a29620d6ca153c9c | |
| parent | Merge pull request #11503 from t895/stateflow-patch (diff) | |
| download | yuzu-e8aaab2fc166338be10978223a8426fab5f56b27.tar.gz yuzu-e8aaab2fc166338be10978223a8426fab5f56b27.tar.xz yuzu-e8aaab2fc166338be10978223a8426fab5f56b27.zip | |
android: Don't reinitialize settings on emulation start
Config is already initialized on application start
| -rw-r--r-- | src/android/app/src/main/jni/native.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index b9ecefa74..8ac28b638 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp | |||
| @@ -262,9 +262,6 @@ public: | |||
| 262 | Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { | 262 | Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { |
| 263 | std::scoped_lock lock(m_mutex); | 263 | std::scoped_lock lock(m_mutex); |
| 264 | 264 | ||
| 265 | // Loads the configuration. | ||
| 266 | Config{}; | ||
| 267 | |||
| 268 | // Create the render window. | 265 | // Create the render window. |
| 269 | m_window = std::make_unique<EmuWindow_Android>(&m_input_subsystem, m_native_window, | 266 | m_window = std::make_unique<EmuWindow_Android>(&m_input_subsystem, m_native_window, |
| 270 | m_vulkan_library); | 267 | m_vulkan_library); |