mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Retrieve RetroArch Nintendo Switch patch from GitHub
This commit is contained in:
parent
07780d4702
commit
5124baf23e
2 changed files with 2 additions and 15 deletions
6
.github/workflows/autobuild.yml
vendored
6
.github/workflows/autobuild.yml
vendored
|
@ -1253,15 +1253,13 @@ jobs:
|
|||
|
||||
- name: Build frontend
|
||||
run: |
|
||||
cp libretro/retroarch-1.20.0-libnx.patch ~
|
||||
cd ~
|
||||
tag_name=$(curl -s https://api.github.com/repos/libretro/RetroArch/releases/latest | jq -r '.tag_name')
|
||||
git clone https://github.com/libretro/RetroArch retroarch --depth 1 -b $tag_name
|
||||
if [ $tag_name = 'v1.20.0' ]
|
||||
then
|
||||
cd retroarch
|
||||
git apply ~/retroarch-1.20.0-libnx.patch
|
||||
cd ..
|
||||
curl -Lo retroarch.patch https://github.com/libretro/RetroArch/pull/17620.patch
|
||||
patch -i retroarch.patch ~/retroarch/menu/menu_driver.c
|
||||
fi
|
||||
mv mkxp-z_libretro.a retroarch/libretro_libnx.a
|
||||
cd retroarch
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- a/menu/menu_driver.c
|
||||
+++ b/menu/menu_driver.c
|
||||
@@ -5126,7 +5126,7 @@ bool menu_input_dialog_get_display_kb(void)
|
||||
|
||||
if (typing)
|
||||
return false;
|
||||
-
|
||||
+ void libnx_apply_overclock(void);
|
||||
/* swkbd only works on "real" titles */
|
||||
if ( __nx_applet_type != AppletType_Application
|
||||
&& __nx_applet_type != AppletType_SystemApplication)
|
Loading…
Add table
Reference in a new issue