From 7294542a67ce74c8d4679751a30f604dc1472634 Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 24 Jul 2019 15:19:30 -0400 Subject: [PATCH] android: native: Ensure game config is re-loaded before starting. --- src/android/app/src/main/jni/native.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index 1be47d828..2f104d98a 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -99,6 +99,11 @@ static int RunCitra(const std::string& filepath) { InputManager::Shutdown(); } + { + // Forces a config reload on game boot, if the user changed settings in the UI + Config config; + } + Settings::Apply(); InputManager::Init(); window = std::make_unique(s_surf);