mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
Trying to integrate combo button as a SettingsKey setting. Running into issues with malformed/missing key
This commit is contained in:
parent
36f458552c
commit
1d7c8d6437
3 changed files with 3 additions and 1 deletions
|
|
@ -238,6 +238,7 @@ if (ANDROID)
|
|||
"android_hide_images"
|
||||
"screen_orientation"
|
||||
"performance_overlay_position"
|
||||
"combo_buttons"
|
||||
)
|
||||
string(REPLACE "_" "_1" KEY_JNI_ESCAPED ${KEY})
|
||||
set(SETTING_KEY_LIST "${SETTING_KEY_LIST}\n\"${KEY}\",")
|
||||
|
|
|
|||
|
|
@ -141,4 +141,5 @@ object SettingKeys {
|
|||
external fun android_hide_images(): String
|
||||
external fun screen_orientation(): String
|
||||
external fun performance_overlay_position(): String
|
||||
external fun combo_buttons(): String
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ enum class IntListSetting(
|
|||
) : AbstractListSetting<Int> {
|
||||
|
||||
LAYOUTS_TO_CYCLE(SettingKeys.layouts_to_cycle(), Settings.SECTION_LAYOUT, listOf(0, 1, 2, 3, 4, 5), canBeEmpty = false),
|
||||
COMBO_BUTTONS("combo_buttons", Settings.SECTION_CONTROLS,
|
||||
COMBO_BUTTONS(SettingKeys.combo_buttons(), Settings.SECTION_CONTROLS,
|
||||
CitraApplication.appContext.resources.getIntArray(R.array.comboOptionValues).toCollection(ArrayList()),
|
||||
canBeEmpty = true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue