aboutsummaryrefslogtreecommitdiff
path: root/libretro_core_options.h
diff options
context:
space:
mode:
authorAutechre2020-10-20 18:48:50 +0200
committerGitHub2020-10-20 18:48:50 +0200
commit076dffc6e1a61d19565ee44e49518c7f5846306a (patch)
treef4b3502b4d191a68b23783370dc55feb823de1c4 /libretro_core_options.h
parent8acd98afd3510ba258b93821a4d7796ba31a9b2f (diff)
parentc67092ae0078b6f27f4c0b40f173fb9a724f3e4a (diff)
downloadsnes9x2005-076dffc6e1a61d19565ee44e49518c7f5846306a.tar.gz
snes9x2005-076dffc6e1a61d19565ee44e49518c7f5846306a.tar.bz2
snes9x2005-076dffc6e1a61d19565ee44e49518c7f5846306a.zip
Merge pull request #80 from jdgleaver/frameskip-latency
Frameskip improvements
Diffstat (limited to 'libretro_core_options.h')
-rw-r--r--libretro_core_options.h34
1 files changed, 29 insertions, 5 deletions
diff --git a/libretro_core_options.h b/libretro_core_options.h
index 3f92b3b..032cefd 100644
--- a/libretro_core_options.h
+++ b/libretro_core_options.h
@@ -69,17 +69,41 @@ struct retro_core_option_definition option_defs_us[] = {
{
"catsfc_frameskip",
"Frameskip",
- "Automatically skip frames to avoid audio buffer under-run (crackling). 'Aggressive' and 'Max' increase the buffer threshold at which frames are skipped. Improves performance at the expense of visual smoothness. NOTE: For best results, frontend 'Audio Latency' should be set to at least 128 ms.",
+ "Skip frames to avoid audio buffer under-run (crackling). Improves performance at the expense of visual smoothness. 'Auto' skips frames when advised by the frontend. 'Manual' utilises the 'Frameskip Threshold (%)' setting.",
{
- { "disabled", NULL },
- { "auto", "Auto" },
- { "aggressive", "Aggressive" },
- { "max", "Max" },
+ { "disabled", NULL },
+ { "auto", "Auto" },
+ { "manual", "Manual" },
{ NULL, NULL },
},
"disabled"
},
{
+ "catsfc_frameskip_threshold",
+ "Frameskip Threshold (%)",
+ "When 'Frameskip' is set to 'Manual', specifies the audio buffer occupancy threshold (percentage) below which frames will be skipped. Higher values reduce the risk of crackling by causing frames to be dropped more frequently.",
+ {
+ { "15", NULL },
+ { "18", NULL },
+ { "21", NULL },
+ { "24", NULL },
+ { "27", NULL },
+ { "30", NULL },
+ { "33", NULL },
+ { "36", NULL },
+ { "39", NULL },
+ { "42", NULL },
+ { "45", NULL },
+ { "48", NULL },
+ { "51", NULL },
+ { "54", NULL },
+ { "57", NULL },
+ { "60", NULL },
+ { NULL, NULL },
+ },
+ "33"
+ },
+ {
"catsfc_overclock_cycles",
"Reduce Slowdown (Hack, Unsafe, Restart)",
"Many games for the SNES suffered from slowdown due to the weak main CPU. This option helps allievate that at the cost of possible bugs. COMPATIBLE: Reduce slowdown but keep as much game compatibility as much as possible. MAX: Reduce slowdown as much as possible but will break more games.",