aboutsummaryrefslogtreecommitdiff
path: root/patches/snes9x2005
diff options
context:
space:
mode:
authorneonloop2021-08-04 18:30:43 +0000
committerneonloop2021-08-04 18:30:43 +0000
commit9fc540857834d4edaa9afbf2937f2f3c9f2e3202 (patch)
tree02526718d21ffd1c838de1f8631f651a3a460412 /patches/snes9x2005
parent0addef625ae5525bc32c3e998ad2d21c1ff892c3 (diff)
downloadpicoarch-9fc540857834d4edaa9afbf2937f2f3c9f2e3202.tar.gz
picoarch-9fc540857834d4edaa9afbf2937f2f3c9f2e3202.tar.bz2
picoarch-9fc540857834d4edaa9afbf2937f2f3c9f2e3202.zip
Wraps core option info lines
Diffstat (limited to 'patches/snes9x2005')
-rw-r--r--patches/snes9x2005/0002-core-options.patch25
-rw-r--r--patches/snes9x2005/1000-frameskip-interval.patch15
2 files changed, 16 insertions, 24 deletions
diff --git a/patches/snes9x2005/0002-core-options.patch b/patches/snes9x2005/0002-core-options.patch
index 8fea741..7f43e83 100644
--- a/patches/snes9x2005/0002-core-options.patch
+++ b/patches/snes9x2005/0002-core-options.patch
@@ -1,25 +1,22 @@
diff --git a/libretro_core_options.h b/libretro_core_options.h
-index 032cefd..63e17ae 100644
+index 032cefd..b32864a 100644
--- a/libretro_core_options.h
+++ b/libretro_core_options.h
-@@ -57,7 +57,9 @@ struct retro_core_option_definition option_defs_us[] = {
+@@ -57,7 +57,7 @@ struct retro_core_option_definition option_defs_us[] = {
{
"catsfc_VideoMode",
"Console Region",
- "Specify which region the system is from. 'PAL' is 50hz, 'NTSC' is 60hz. Games will run faster or slower than normal if the incorrect region is selected.",
-+ "'PAL' is 50hz, 'NTSC' is 60hz. Games will run\n"
-+ "faster or slower than normal if the incorrect\n"
-+ "region is selected.",
++ "'PAL' is 50hz, 'NTSC' is 60hz. Games will run faster or slower than normal if the incorrect region is selected.",
{
{ "auto", "Auto" },
{ "NTSC", NULL },
-@@ -69,19 +71,22 @@ struct retro_core_option_definition option_defs_us[] = {
+@@ -69,19 +69,19 @@ struct retro_core_option_definition option_defs_us[] = {
{
"catsfc_frameskip",
"Frameskip",
- "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.",
-+ "Skip frames to avoid audio crackling. Improves\n"
-+ "performance at the expense of visual smoothness.",
++ "Skip frames to avoid audio crackling. Improves performance at the expense of visual smoothness.",
{
{ "disabled", NULL },
{ "auto", "Auto" },
@@ -34,26 +31,22 @@ index 032cefd..63e17ae 100644
- "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.",
+ "FS Threshold (%)",
-+ "When 'Frameskip' is set to 'Threshold', sets\n"
-+ "how low the audio buffer can get before frames\n"
-+ "will be skipped.",
++ "When 'Frameskip' is set to 'Threshold', sets how low the audio buffer can get before frames will be skipped.",
{
{ "15", NULL },
{ "18", NULL },
-@@ -105,8 +110,10 @@ struct retro_core_option_definition option_defs_us[] = {
+@@ -105,8 +105,8 @@ struct retro_core_option_definition option_defs_us[] = {
},
{
"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.",
+ "Overclock (Restart)",
-+ "Alleviate normal SNES slowdown. Compatible keeps\n"
-+ "as much compatibility as possible. Max will reduce\n"
-+ "more slowdown but break more games.",
++ "Alleviate normal SNES slowdown. Compatible keeps as much compatibility as possible. Max will reduce more slowdown but break more games.",
{
{ "disabled", NULL },
{ "compatible", "Compatible" },
-@@ -117,7 +124,7 @@ struct retro_core_option_definition option_defs_us[] = {
+@@ -117,7 +117,7 @@ struct retro_core_option_definition option_defs_us[] = {
},
{
"catsfc_reduce_sprite_flicker",
diff --git a/patches/snes9x2005/1000-frameskip-interval.patch b/patches/snes9x2005/1000-frameskip-interval.patch
index a0b6ef0..eb920c7 100644
--- a/patches/snes9x2005/1000-frameskip-interval.patch
+++ b/patches/snes9x2005/1000-frameskip-interval.patch
@@ -1,5 +1,5 @@
diff --git a/libretro.c b/libretro.c
-index c368d8f..f4675ed 100644
+index c368d8f..305adee 100644
--- a/libretro.c
+++ b/libretro.c
@@ -57,13 +57,11 @@ static int32_t samplerate = (((SNES_CLOCK_SPEED * 6) / (32 * ONE_APU_CYCLE)));
@@ -59,12 +59,12 @@ index c368d8f..f4675ed 100644
IPPU.RenderThisFrame = false;
frameskip_counter++;
diff --git a/libretro_core_options.h b/libretro_core_options.h
-index 8620a4a..dc79a38 100644
+index b32864a..b69d19a 100644
--- a/libretro_core_options.h
+++ b/libretro_core_options.h
-@@ -74,9 +74,9 @@ struct retro_core_option_definition option_defs_us[] = {
- "Skip frames to avoid audio crackling. Improves\n"
- "performance at the expense of visual smoothness.",
+@@ -71,9 +71,9 @@ struct retro_core_option_definition option_defs_us[] = {
+ "Frameskip",
+ "Skip frames to avoid audio crackling. Improves performance at the expense of visual smoothness.",
{
- { "disabled", NULL },
- { "auto", "Auto" },
@@ -75,15 +75,14 @@ index 8620a4a..dc79a38 100644
{ NULL, NULL },
},
"auto"
-@@ -108,6 +108,27 @@ struct retro_core_option_definition option_defs_us[] = {
+@@ -103,6 +103,26 @@ struct retro_core_option_definition option_defs_us[] = {
},
"33"
},
+ {
+ "catsfc_frameskip_interval",
+ "FS Interval",
-+ "The maximum number of frames that can be skipped\n"
-+ "before a new frame is rendered.",
++ "The maximum number of frames that can be skipped before a new frame is rendered.",
+ {
+ { "0", NULL },
+ { "1", NULL },