From afac587aab5265fda4c198f40ae054c74115f12b Mon Sep 17 00:00:00 2001 From: neonloop Date: Wed, 9 Feb 2022 06:55:47 +0000 Subject: Adds frameskip interval for limiting max skipped frames --- libretro_core_options.h | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'libretro_core_options.h') diff --git a/libretro_core_options.h b/libretro_core_options.h index 28bb210..409590c 100644 --- a/libretro_core_options.h +++ b/libretro_core_options.h @@ -87,9 +87,9 @@ struct retro_core_option_v2_definition option_defs_us[] = { NULL, NULL, { - { "disabled", NULL }, - { "auto", "Auto" }, - { "manual", "Manual" }, + { "disabled", NULL }, + { "auto", "Auto" }, + { "auto_threshold", "Threshold" }, { NULL, NULL }, }, "disabled" @@ -169,6 +169,29 @@ struct retro_core_option_v2_definition option_defs_us[] = { "60" }, #endif + { + "snes9x_2005_frameskip_interval", + "Frameskip Interval", + NULL, + "The maximum number of frames that can be skipped before a new frame is rendered.", + NULL, + NULL, + { + { "0", NULL }, + { "1", NULL }, + { "2", NULL }, + { "3", NULL }, + { "4", NULL }, + { "5", NULL }, + { "6", NULL }, + { "7", NULL }, + { "8", NULL }, + { "9", NULL }, + { "10", NULL }, + { NULL, NULL }, + }, + "4" + }, { "snes9x_2005_overclock_cycles", "Reduce Slowdown (Hack, Unsafe, Restart)", -- cgit v1.2.3