aboutsummaryrefslogtreecommitdiff
path: root/patches/pcsx_rearmed/1000-trimui-support.patch
diff options
context:
space:
mode:
authorneonloop2021-08-15 22:06:22 +0000
committerneonloop2021-08-15 22:06:22 +0000
commitac7b0281105d2b19ff96f68293416ee1e964fefe (patch)
tree626b6c543c8b2126519bcb5477156958a5ff4cd3 /patches/pcsx_rearmed/1000-trimui-support.patch
parent549c48b2b327762e87e327a1ba0221810dcac5ab (diff)
downloadpicoarch-ac7b0281105d2b19ff96f68293416ee1e964fefe.tar.gz
picoarch-ac7b0281105d2b19ff96f68293416ee1e964fefe.tar.bz2
picoarch-ac7b0281105d2b19ff96f68293416ee1e964fefe.zip
Moves core option changes into picoarch
Keeps cores cleaner and avoids conflicts
Diffstat (limited to 'patches/pcsx_rearmed/1000-trimui-support.patch')
-rw-r--r--patches/pcsx_rearmed/1000-trimui-support.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/pcsx_rearmed/1000-trimui-support.patch b/patches/pcsx_rearmed/1000-trimui-support.patch
index 3ace711..5d41184 100644
--- a/patches/pcsx_rearmed/1000-trimui-support.patch
+++ b/patches/pcsx_rearmed/1000-trimui-support.patch
@@ -70,6 +70,37 @@ index f3e3c2b..8497459 100644
cycle_multiplier = 200;
#endif
pl_rearmed_cbs.gpu_peops.iUseDither = 1;
+diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h
+index a1b85d4..775ac58 100644
+--- a/frontend/libretro_core_options.h
++++ b/frontend/libretro_core_options.h
+@@ -516,7 +516,7 @@ struct retro_core_option_definition option_defs_us[] = {
+ { "enabled", NULL },
+ { NULL, NULL },
+ },
+-#if defined HAVE_LIBNX || defined _3DS
++#if defined HAVE_LIBNX || defined _3DS || defined _TRIMUI
+ "disabled",
+ #else
+ "enabled",
+@@ -541,7 +541,7 @@ struct retro_core_option_definition option_defs_us[] = {
+ {
+ "pcsx_rearmed_psxclock",
+ "PSX CPU Clock",
+-#if defined(HAVE_PRE_ARMV7) && !defined(_3DS)
++#if defined(HAVE_PRE_ARMV7) && !defined(_3DS) && !defined(_TRIMUI)
+ "Overclock or underclock the PSX clock. Default is 50",
+ #else
+ "Overclock or underclock the PSX clock. Default is 57",
+@@ -620,7 +620,7 @@ struct retro_core_option_definition option_defs_us[] = {
+ { "100", NULL },
+ { NULL, NULL },
+ },
+-#if defined(HAVE_PRE_ARMV7) && !defined(_3DS)
++#if defined(HAVE_PRE_ARMV7) && !defined(_3DS) && !defined(_TRIMUI)
+ "50",
+ #else
+ "57",
diff --git a/frontend/main.c b/frontend/main.c
index d3c7d40..7610146 100644
--- a/frontend/main.c