From c67092ae0078b6f27f4c0b40f173fb9a724f3e4a Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Tue, 20 Oct 2020 15:45:38 +0100 Subject: Frameskip improvements --- libretro_core_options.h | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'libretro_core_options.h') 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,16 +69,40 @@ 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)", -- cgit v1.2.3