From f53deef14f98c659fe9bbd7684656ee88977acbd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 17 Aug 2021 10:36:54 +0200 Subject: Revert "Update core options" This reverts commit 0cc36302575b2bc3b2f1dc56648f7c8365a70a82. --- libretro.h | 20 -------------------- libretro_core_options.h | 17 ++++++----------- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/libretro.h b/libretro.h index 2c30120..076dd25 100644 --- a/libretro.h +++ b/libretro.h @@ -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 diff --git a/libretro_core_options.h b/libretro_core_options.h index 7588801..9b89154 100644 --- a/libretro_core_options.h +++ b/libretro_core_options.h @@ -77,8 +77,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "PAL", NULL }, { NULL, NULL }, }, - "auto", - NULL + "auto" }, { "snes9x_2005_frameskip", @@ -93,8 +92,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "manual", "Manual" }, { NULL, NULL }, }, - "disabled", - NULL + "disabled" }, { "snes9x_2005_frameskip_threshold", @@ -122,8 +120,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "60", NULL }, { NULL, NULL }, }, - "33", - "int" + "33" }, { "snes9x_2005_overclock_cycles", @@ -138,8 +135,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "max", "Max" }, { NULL, NULL }, }, - "disabled", - NULL + "disabled" }, { "snes9x_2005_reduce_sprite_flicker", @@ -153,10 +149,9 @@ struct retro_core_option_v2_definition option_defs_us[] = { { "enabled", NULL }, { NULL, NULL }, }, - "disabled", - "bool" + "disabled" }, - { NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL, NULL }, + { NULL, NULL, NULL, NULL, NULL, NULL, {{0}}, NULL }, }; struct retro_core_options_v2 options_us = { -- cgit v1.2.3