diff --git a/src/platform/libretro/libretro.c b/src/platform/libretro/libretro.c index 4b05a422f6b..744712b1d21 100644 --- a/src/platform/libretro/libretro.c +++ b/src/platform/libretro/libretro.c @@ -84,6 +84,9 @@ static int32_t _readTiltX(struct mRotationSource* source); static int32_t _readTiltY(struct mRotationSource* source); static int32_t _readGyroZ(struct mRotationSource* source); static void _setupMaps(struct mCore* core); +static void _updateLuxFromExternalInput(void); +static int _boktai1StepToBar(int step); +static int _boktai1BarToStep(int bar); static struct mCore* core; static mColor* outputBuffer = NULL; @@ -106,6 +109,8 @@ static int luxLevelIndex; static uint8_t luxLevel; static bool luxSensorEnabled; static bool luxSensorUsed; +static bool luxExternalSensorUsed; +static bool boktai1Game; static struct mLogger logger; static struct retro_camera_callback cam; static struct mImageSource imageSource; @@ -128,6 +133,7 @@ static bool updateAudioRate; static bool deferredSetup = false; static bool useBitmasks = true; static bool envVarsUpdated; +static unsigned inputMaxUsers = 1; static int32_t tiltX = 0; static int32_t tiltY = 0; static int32_t gyroZ = 0; @@ -152,8 +158,10 @@ static const int keymap[] = { #ifndef GIT_VERSION #define GIT_VERSION "" #endif +#ifndef MGBA_LIBRETRO_USE_GENERATED_VERSION const char* const projectVersion = "0.11-dev" GIT_VERSION; const char* const projectName = "mGBA"; +#endif /* Maximum number of consecutive frames that * can be skipped */ @@ -1414,6 +1422,12 @@ void retro_init(void) { environCallback(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, &inputDescriptors); useBitmasks = environCallback(RETRO_ENVIRONMENT_GET_INPUT_BITMASKS, NULL); + unsigned maxUsers = 1; + if (environCallback(RETRO_ENVIRONMENT_GET_INPUT_MAX_USERS, &maxUsers) && maxUsers > 0) { + inputMaxUsers = maxUsers; + } else { + inputMaxUsers = 1; + } // TODO: RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME when BIOS booting is supported @@ -1435,7 +1449,9 @@ void retro_init(void) { envVarsUpdated = true; luxSensorUsed = false; + luxExternalSensorUsed = false; luxSensorEnabled = false; + boktai1Game = false; luxLevelIndex = 0; luxLevel = 0; lux.readLuminance = _readLux; @@ -1606,22 +1622,30 @@ void retro_run(void) { core->setKeys(core, keys); - if (!luxSensorUsed) { + if (luxExternalSensorUsed) { + _updateLuxFromExternalInput(); + } else if (!luxSensorUsed) { static bool wasAdjustingLux = false; if (wasAdjustingLux) { wasAdjustingLux = inputCallback(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R3) || inputCallback(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L3); } else { if (inputCallback(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R3)) { - ++luxLevelIndex; - if (luxLevelIndex > 10) { - luxLevelIndex = 10; + if (boktai1Game) { + int bar = _boktai1StepToBar(luxLevelIndex) + 1; + if (bar > 8) bar = 8; + luxLevelIndex = _boktai1BarToStep(bar); + } else { + if (++luxLevelIndex > 10) luxLevelIndex = 10; } wasAdjustingLux = true; } else if (inputCallback(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L3)) { - --luxLevelIndex; - if (luxLevelIndex < 0) { - luxLevelIndex = 0; + if (boktai1Game) { + int bar = _boktai1StepToBar(luxLevelIndex) - 1; + if (bar < 0) bar = 0; + luxLevelIndex = _boktai1BarToStep(bar); + } else { + if (--luxLevelIndex < 0) luxLevelIndex = 0; } wasAdjustingLux = true; } @@ -2097,6 +2121,13 @@ bool retro_load_game(const struct retro_game_info* game) { if (core->platform(core) == mPLATFORM_GBA) { core->setPeripheral(core, mPERIPH_GBA_LUMINANCE, &lux); biosName = "gba_bios.bin"; + + const struct GBACartridge* cart = (const struct GBACartridge*) ((struct GBA*) core->board)->memory.rom; + if (cart) { + boktai1Game = memcmp(&cart->id, "U3IJ", 4) == 0 + || memcmp(&cart->id, "U3IE", 4) == 0 + || memcmp(&cart->id, "U3IP", 4) == 0; + } } #endif @@ -2466,6 +2497,67 @@ static void _setRumble(struct mRumbleIntegrator* rumble, float level) { rumbleCallback(0, RETRO_RUMBLE_WEAK, level * 0xFFFF); } +static int _boktai1StepToBar(int step) { + static const int map[] = { 0, 1, 2, 3, 3, 4, 5, 6, 7, 7, 8 }; + if (step < 0) return 0; + if (step > 10) return 8; + return map[step]; +} + +static int _boktai1BarToStep(int bar) { + static const int map[] = { 0, 1, 2, 3, 5, 6, 7, 8, 10 }; + if (bar < 0) return 0; + if (bar > 8) return 10; + return map[bar]; +} + +static void _updateLuxFromExternalInput(void) { + unsigned port; + bool unlocked = false; + float maxDeflection = 0.0f; + int maxBars = boktai1Game ? 8 : 10; + int numLevels = maxBars + 1; + int bars; + + for (port = 0; port < inputMaxUsers; ++port) { + int16_t rawAxis; + float normalized = 0.0f; + + if (!inputCallback(port, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R3)) { + continue; + } + + unlocked = true; + rawAxis = inputCallback(port, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_RIGHT, RETRO_DEVICE_ID_ANALOG_X); + + if (rawAxis > 0) { + normalized = (float) rawAxis / 32767.0f; + if (normalized > 1.0f) { + normalized = 1.0f; + } + } + + if (normalized > maxDeflection) { + maxDeflection = normalized; + } + } + + if (!unlocked) { + return; + } + + bars = (int) (maxDeflection * numLevels); + if (bars > maxBars) { + bars = maxBars; + } + + if (boktai1Game) { + luxLevelIndex = _boktai1BarToStep(bars); + } else { + luxLevelIndex = bars; + } +} + static void _updateLux(struct GBALuminanceSource* lux) { UNUSED(lux); struct retro_variable var = { @@ -2480,24 +2572,42 @@ static void _updateLux(struct GBALuminanceSource* lux) { if (luxVarUpdated) { luxSensorUsed = strcmp(var.value, "sensor") == 0; + luxExternalSensorUsed = strcmp(var.value, "external") == 0; } if (luxSensorUsed) { _initSensors(); float fLux = luxSensorEnabled ? sensorGetCallback(0, RETRO_SENSOR_ILLUMINANCE) : 0.0f; - luxLevel = cbrtf(fLux) * 8; + int sensorLevel = (int)(cbrtf(fLux) * 8); + if (boktai1Game) { + if (sensorLevel > 8) sensorLevel = 8; + luxLevelIndex = _boktai1BarToStep(sensorLevel); + } else { + if (sensorLevel > 10) sensorLevel = 10; + luxLevelIndex = sensorLevel; + } + luxLevel = 0x16; + if (luxLevelIndex > 0) { + luxLevel += GBA_LUX_LEVELS[luxLevelIndex - 1]; + } } else { - if (luxVarUpdated) { + if (luxVarUpdated && !luxExternalSensorUsed) { char* end; int newLuxLevelIndex = strtol(var.value, &end, 10); if (!*end) { - if (newLuxLevelIndex > 10) { - luxLevelIndex = 10; - } else if (newLuxLevelIndex < 0) { - luxLevelIndex = 0; + if (boktai1Game) { + if (newLuxLevelIndex < 0) newLuxLevelIndex = 0; + if (newLuxLevelIndex > 8) newLuxLevelIndex = 8; + luxLevelIndex = _boktai1BarToStep(newLuxLevelIndex); } else { - luxLevelIndex = newLuxLevelIndex; + if (newLuxLevelIndex > 10) { + luxLevelIndex = 10; + } else if (newLuxLevelIndex < 0) { + luxLevelIndex = 0; + } else { + luxLevelIndex = newLuxLevelIndex; + } } } } diff --git a/src/platform/libretro/libretro_core_options.h b/src/platform/libretro/libretro_core_options.h index 9bd553bdf23..7e2eeb92b5a 100644 --- a/src/platform/libretro/libretro_core_options.h +++ b/src/platform/libretro/libretro_core_options.h @@ -269,24 +269,25 @@ struct retro_core_option_v2_definition option_defs_us[] = { }, { "mgba_solar_sensor_level", - "Solar Sensor Level", + "Solar Sensor", NULL, - "Sets ambient sunlight intensity. Can be used by games that included a solar sensor in their cartridges, e.g: the Boktai series.", + "Sets sunlight intensity for games with cartridge solar sensors (e.g. Boktai). External sensor mode also supports R3 + Right Stick X+ to set the solar meter.", NULL, "input", { { "sensor", "Use device sensor if available" }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" diff --git a/src/platform/libretro/libretro_core_options_intl.h b/src/platform/libretro/libretro_core_options_intl.h index 01ea7baea49..4d95911a48e 100644 --- a/src/platform/libretro/libretro_core_options_intl.h +++ b/src/platform/libretro/libretro_core_options_intl.h @@ -1,4 +1,4 @@ -#ifndef LIBRETRO_CORE_OPTIONS_INTL_H__ +#ifndef LIBRETRO_CORE_OPTIONS_INTL_H__ #define LIBRETRO_CORE_OPTIONS_INTL_H__ #if defined(_MSC_VER) && (_MSC_VER >= 1500 && _MSC_VER < 1900) @@ -352,17 +352,18 @@ struct retro_core_option_v2_definition option_defs_ar[] = { "input", { { "sensor", OPTION_VAL_SENSOR_AR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -785,17 +786,18 @@ struct retro_core_option_v2_definition option_defs_ast[] = { "input", { { "sensor", OPTION_VAL_SENSOR_AST }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -1218,17 +1220,18 @@ struct retro_core_option_v2_definition option_defs_ca[] = { "input", { { "sensor", OPTION_VAL_SENSOR_CA }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -1651,17 +1654,18 @@ struct retro_core_option_v2_definition option_defs_chs[] = { "input", { { "sensor", OPTION_VAL_SENSOR_CHS }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -2084,17 +2088,18 @@ struct retro_core_option_v2_definition option_defs_cht[] = { "input", { { "sensor", OPTION_VAL_SENSOR_CHT }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -2517,17 +2522,18 @@ struct retro_core_option_v2_definition option_defs_cs[] = { "input", { { "sensor", OPTION_VAL_SENSOR_CS }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -2950,17 +2956,18 @@ struct retro_core_option_v2_definition option_defs_cy[] = { "input", { { "sensor", OPTION_VAL_SENSOR_CY }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -3383,17 +3390,18 @@ struct retro_core_option_v2_definition option_defs_da[] = { "input", { { "sensor", OPTION_VAL_SENSOR_DA }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -3816,17 +3824,18 @@ struct retro_core_option_v2_definition option_defs_de[] = { "input", { { "sensor", OPTION_VAL_SENSOR_DE }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -4249,17 +4258,18 @@ struct retro_core_option_v2_definition option_defs_el[] = { "input", { { "sensor", OPTION_VAL_SENSOR_EL }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -4682,17 +4692,18 @@ struct retro_core_option_v2_definition option_defs_en[] = { "input", { { "sensor", OPTION_VAL_SENSOR_EN }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -5115,17 +5126,18 @@ struct retro_core_option_v2_definition option_defs_eo[] = { "input", { { "sensor", OPTION_VAL_SENSOR_EO }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -5548,17 +5560,18 @@ struct retro_core_option_v2_definition option_defs_es[] = { "input", { { "sensor", OPTION_VAL_SENSOR_ES }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -5981,17 +5994,18 @@ struct retro_core_option_v2_definition option_defs_fa[] = { "input", { { "sensor", OPTION_VAL_SENSOR_FA }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -6414,17 +6428,18 @@ struct retro_core_option_v2_definition option_defs_fi[] = { "input", { { "sensor", OPTION_VAL_SENSOR_FI }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -6847,17 +6862,18 @@ struct retro_core_option_v2_definition option_defs_fr[] = { "input", { { "sensor", OPTION_VAL_SENSOR_FR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -7280,17 +7296,18 @@ struct retro_core_option_v2_definition option_defs_gl[] = { "input", { { "sensor", OPTION_VAL_SENSOR_GL }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -7713,17 +7730,18 @@ struct retro_core_option_v2_definition option_defs_he[] = { "input", { { "sensor", OPTION_VAL_SENSOR_HE }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -8146,17 +8164,18 @@ struct retro_core_option_v2_definition option_defs_hr[] = { "input", { { "sensor", OPTION_VAL_SENSOR_HR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -8579,17 +8598,18 @@ struct retro_core_option_v2_definition option_defs_hu[] = { "input", { { "sensor", OPTION_VAL_SENSOR_HU }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -9012,17 +9032,18 @@ struct retro_core_option_v2_definition option_defs_id[] = { "input", { { "sensor", OPTION_VAL_SENSOR_ID }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -9445,17 +9466,18 @@ struct retro_core_option_v2_definition option_defs_it[] = { "input", { { "sensor", OPTION_VAL_SENSOR_IT }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -9878,17 +9900,18 @@ struct retro_core_option_v2_definition option_defs_ja[] = { "input", { { "sensor", OPTION_VAL_SENSOR_JA }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -10311,17 +10334,18 @@ struct retro_core_option_v2_definition option_defs_ko[] = { "input", { { "sensor", OPTION_VAL_SENSOR_KO }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -10744,17 +10768,18 @@ struct retro_core_option_v2_definition option_defs_mt[] = { "input", { { "sensor", OPTION_VAL_SENSOR_MT }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -11177,17 +11202,18 @@ struct retro_core_option_v2_definition option_defs_nl[] = { "input", { { "sensor", OPTION_VAL_SENSOR_NL }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -11610,17 +11636,18 @@ struct retro_core_option_v2_definition option_defs_no[] = { "input", { { "sensor", OPTION_VAL_SENSOR_NO }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -12043,17 +12070,18 @@ struct retro_core_option_v2_definition option_defs_oc[] = { "input", { { "sensor", OPTION_VAL_SENSOR_OC }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -12476,17 +12504,18 @@ struct retro_core_option_v2_definition option_defs_pl[] = { "input", { { "sensor", OPTION_VAL_SENSOR_PL }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -12909,17 +12938,18 @@ struct retro_core_option_v2_definition option_defs_pt_br[] = { "input", { { "sensor", OPTION_VAL_SENSOR_PT_BR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -13342,17 +13372,18 @@ struct retro_core_option_v2_definition option_defs_pt_pt[] = { "input", { { "sensor", OPTION_VAL_SENSOR_PT_PT }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -13775,17 +13806,18 @@ struct retro_core_option_v2_definition option_defs_ro[] = { "input", { { "sensor", OPTION_VAL_SENSOR_RO }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -14208,17 +14240,18 @@ struct retro_core_option_v2_definition option_defs_ru[] = { "input", { { "sensor", OPTION_VAL_SENSOR_RU }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -14641,17 +14674,18 @@ struct retro_core_option_v2_definition option_defs_si[] = { "input", { { "sensor", OPTION_VAL_SENSOR_SI }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -15074,17 +15108,18 @@ struct retro_core_option_v2_definition option_defs_sk[] = { "input", { { "sensor", OPTION_VAL_SENSOR_SK }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -15507,17 +15542,18 @@ struct retro_core_option_v2_definition option_defs_sr[] = { "input", { { "sensor", OPTION_VAL_SENSOR_SR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -15940,17 +15976,18 @@ struct retro_core_option_v2_definition option_defs_sv[] = { "input", { { "sensor", OPTION_VAL_SENSOR_SV }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -16373,17 +16410,18 @@ struct retro_core_option_v2_definition option_defs_tr[] = { "input", { { "sensor", OPTION_VAL_SENSOR_TR }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -16806,17 +16844,18 @@ struct retro_core_option_v2_definition option_defs_uk[] = { "input", { { "sensor", OPTION_VAL_SENSOR_UK }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -17239,17 +17278,18 @@ struct retro_core_option_v2_definition option_defs_val[] = { "input", { { "sensor", OPTION_VAL_SENSOR_VAL }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -17672,17 +17712,18 @@ struct retro_core_option_v2_definition option_defs_vn[] = { "input", { { "sensor", OPTION_VAL_SENSOR_VN }, - { "0", NULL }, - { "1", NULL }, - { "2", NULL }, - { "3", NULL }, - { "4", NULL }, - { "5", NULL }, - { "6", NULL }, - { "7", NULL }, - { "8", NULL }, - { "9", NULL }, - { "10", NULL }, + { "external", "Use external sensor (Ojo del Sol)" }, + { "0", "Static: 0 bars" }, + { "1", "Static: 1 bars" }, + { "2", "Static: 2 bars" }, + { "3", "Static: 3 bars" }, + { "4", "Static: 4 bars" }, + { "5", "Static: 5 bars" }, + { "6", "Static: 6 bars" }, + { "7", "Static: 7 bars" }, + { "8", "Static: 8 bars" }, + { "9", "Static: 9 bars" }, + { "10", "Static: 10 bars" }, { NULL, NULL }, }, "0" @@ -17795,4 +17836,4 @@ struct retro_core_options_v2 options_vn = { } #endif -#endif \ No newline at end of file +#endif