mirror of
https://github.com/ApfelTeeSaft/azahar.git
synced 2026-08-26 19:23:31 +00:00
Configuration backend improvements Pt. 1 (#1762)
* Convert all setting keys in settings.h into hana strings * Derive libretro setting keys from common/settings.h hana strings * settings.h: Reduce code repetition in key definitions via macro * Implemented mechanism to pass our C++ setting keys to Android/Kotlin None of the Android keys have been moved over as of this commit, this is just prep work * jni_settings_keys.cpp.in: Removed redundant code * Migrate (almost) all Android setting string keys over to SettingKeys Also some slight cleanup * Updated license headers * Fixed top custom width erroneously being used in place of top custom height * Migrate (probably) all setting string keys to Settings::QKeys * Migrated several previously missed string keys to generated keys * SettingKeys.kt: Visually seperate shared and Android-exclusive keys, similar to GenerateSettingKeys.cmake * android: sdl2_config --> android_config Not sure why these values are named this way. Hold-over from SDL2 frontend? * android: Generate and validate default config.ini dynamically * Settings: Assume C-style string keys by default Relative to the previous commit, the following names have changed: - Settings::Keys --> Settings::HKeys - Settings::CKeys --> Settings::Keys * default_ini.h: Fixed formatting warning * Comment cleanup * android: Fixed compilation failure due to incorrect namespace * config.cpp: Use ASSERT_MSG instead of LOG_ERROR and ASSERT(false)
This commit is contained in:
Vendored
+1
-1
Submodule externals/boost updated: 2c82bd7873...f9b15f673a
Reference in New Issue
Block a user