summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-16 02:36:56 -0400
committerCharles Lombardo <clombardo169@gmail.com>2023-08-29 19:40:17 -0400
commit6c8f2b355ace41e33e8a1ad2f95d2816893a953b (patch)
treef7e96841efb0aa2d6a9b0a16df8247c2ec9da2a1 /src/common/settings.cpp
parent3d5ecc1f086d0dc98568e9ee1fb61dcbb86d268d (diff)
android: Expose interface for getting settings from native code
Completely removes code related to parsing the settings file on the java side. Now all settings are accessed via NativeConfig.kt and config.cpp has been modified to be closer to the core counterpart. Since the core currently uses QSettings, we can't remove reliance from Wini yet. This also includes simplifications to each settings interface to get closer to native code and prepare for per-game settings.
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 524056841..4ecaf550b 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -159,6 +159,8 @@ float Volume() {
const char* TranslateCategory(Category category) {
switch (category) {
+ case Category::Android:
+ return "Android";
case Category::Audio:
return "Audio";
case Category::Core: