Revert "Core options update"

This reverts commit 988fa23d54.
This commit is contained in:
twinaphex 2021-08-17 10:37:14 +02:00
parent 988fa23d54
commit d0c0e76375
3 changed files with 12 additions and 45 deletions

View File

@ -3519,26 +3519,6 @@ struct retro_core_option_v2_definition
* in the retro_core_option_value array, otherwise will be
* ignored */
const char *default_value;
/* Specify the type this option represents so the frontend
* can present the user an alternative input method besides
* a limited list of possible values.
* > If set to "int", all values need to be integers
* and a frontend with support for numerical input will
* allow input of any number betwen the lowest and
* highest defined value.
* > If set to "float", all values need to be numbers
* and a frontend with support for numerical input will
* allow input of any number betwen the lowest and
* highest defined value.
* > If set to "bool", there should be only two values
* "true" and "false" (label can be anything)
* The frontend can choose to show a checkbox for it.
* > If NULL or set to "enum", the frontend will show
* the list of values and input will be limited to them.
* Future versions of the specs could allow this for more
* types or to be "TYPE:MORE:OPTIONS" */
const char *type_info;
};
struct retro_core_options_v2

View File

@ -75,8 +75,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "pal", "PAL" },
{ NULL, NULL},
},
"auto",
NULL
"auto"
},
{
"snes9x_2010_aspect",
@ -93,8 +92,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "pal", "PAL" },
{ NULL, NULL},
},
"auto",
NULL
"auto"
},
{
"snes9x_2010_turbodelay",
@ -109,8 +107,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "slow", "Slow "},
{ NULL, NULL },
},
"medium",
NULL
"medium"
},
{
"snes9x_2010_blargg",
@ -128,8 +125,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "rgb", "RGB" },
{ NULL, NULL},
},
"disabled",
NULL
"disabled"
},
{
"snes9x_2010_frameskip",
@ -144,8 +140,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "manual", "Manual" },
{ NULL, NULL},
},
"disabled",
NULL
"disabled"
},
{
"snes9x_2010_frameskip_threshold",
@ -173,8 +168,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "60", NULL },
{ NULL, NULL },
},
"33",
"int"
"33"
},
{
"snes9x_2010_overclock",
@ -198,8 +192,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "40 MHz", NULL },
{ NULL, NULL},
},
"10 MHz (Default)",
NULL
"10 MHz (Default)"
},
{
"snes9x_2010_overclock_cycles",
@ -215,8 +208,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "max", "Max" },
{ NULL, NULL},
},
"disabled",
NULL
"disabled"
},
{
"snes9x_2010_reduce_sprite_flicker",
@ -230,8 +222,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "enabled", NULL },
{ NULL, NULL},
},
"disabled",
"bool"
"disabled"
},
{
"snes9x_2010_block_invalid_vram_access",
@ -245,11 +236,10 @@ struct retro_core_option_v2_definition option_defs_us[] = {
{ "disabled", NULL },
{ NULL, NULL},
},
"enabled",
"bool"
"enabled"
},
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL, NULL },
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL },
};
struct retro_core_options_v2 options_us = {

View File

@ -110,7 +110,6 @@ struct retro_core_option_v2_definition option_defs_tr[] = {
{ "5 MHz (Underclock)", NULL },
{ NULL, NULL},
},
NULL,
NULL
},
{
@ -127,7 +126,6 @@ struct retro_core_option_v2_definition option_defs_tr[] = {
{ "max", "Maks" },
{ NULL, NULL},
},
NULL,
NULL
},
{
@ -142,10 +140,9 @@ struct retro_core_option_v2_definition option_defs_tr[] = {
{ "enabled", NULL },
{ NULL, NULL},
},
NULL,
NULL
},
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL, NULL },
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL },
};
struct retro_core_options_v2 options_tr = {