Skip to content

Commit f53deef

Browse files
committed
Revert "Update core options"
This reverts commit 0cc3630.
1 parent 0cc3630 commit f53deef

File tree

2 files changed

+6
-31
lines changed

2 files changed

+6
-31
lines changed

libretro.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3519,26 +3519,6 @@ struct retro_core_option_v2_definition
35193519
* in the retro_core_option_value array, otherwise will be
35203520
* ignored */
35213521
const char *default_value;
3522-
3523-
/* Specify the type this option represents so the frontend
3524-
* can present the user an alternative input method besides
3525-
* a limited list of possible values.
3526-
* > If set to "int", all values need to be integers
3527-
* and a frontend with support for numerical input will
3528-
* allow input of any number betwen the lowest and
3529-
* highest defined value.
3530-
* > If set to "float", all values need to be numbers
3531-
* and a frontend with support for numerical input will
3532-
* allow input of any number betwen the lowest and
3533-
* highest defined value.
3534-
* > If set to "bool", there should be only two values
3535-
* "true" and "false" (label can be anything)
3536-
* The frontend can choose to show a checkbox for it.
3537-
* > If NULL or set to "enum", the frontend will show
3538-
* the list of values and input will be limited to them.
3539-
* Future versions of the specs could allow this for more
3540-
* types or to be "TYPE:MORE:OPTIONS" */
3541-
const char *type_info;
35423522
};
35433523

35443524
struct retro_core_options_v2

libretro_core_options.h

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
7777
{ "PAL", NULL },
7878
{ NULL, NULL },
7979
},
80-
"auto",
81-
NULL
80+
"auto"
8281
},
8382
{
8483
"snes9x_2005_frameskip",
@@ -93,8 +92,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
9392
{ "manual", "Manual" },
9493
{ NULL, NULL },
9594
},
96-
"disabled",
97-
NULL
95+
"disabled"
9896
},
9997
{
10098
"snes9x_2005_frameskip_threshold",
@@ -122,8 +120,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
122120
{ "60", NULL },
123121
{ NULL, NULL },
124122
},
125-
"33",
126-
"int"
123+
"33"
127124
},
128125
{
129126
"snes9x_2005_overclock_cycles",
@@ -138,8 +135,7 @@ struct retro_core_option_v2_definition option_defs_us[] = {
138135
{ "max", "Max" },
139136
{ NULL, NULL },
140137
},
141-
"disabled",
142-
NULL
138+
"disabled"
143139
},
144140
{
145141
"snes9x_2005_reduce_sprite_flicker",
@@ -153,10 +149,9 @@ struct retro_core_option_v2_definition option_defs_us[] = {
153149
{ "enabled", NULL },
154150
{ NULL, NULL },
155151
},
156-
"disabled",
157-
"bool"
152+
"disabled"
158153
},
159-
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL, NULL },
154+
{ NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL },
160155
};
161156

162157
struct retro_core_options_v2 options_us = {

0 commit comments

Comments
 (0)