Fix retroarch update menu to enable cheats/etc.

This commit is contained in:
fewtarius 2022-07-30 21:16:59 -04:00
parent e722f1b36e
commit 0b10ce4a32
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 2 additions and 29 deletions

View file

@ -2,7 +2,7 @@
# Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC)
PKG_NAME="retroarch"
PKG_VERSION="d7a30f2a18ad8cf689da94437440f438756e504d"
PKG_VERSION="4b7be8de3fca295c2dc18b3f8ea6d473dbd7ffaa"
PKG_SITE="https://github.com/libretro/RetroArch"
PKG_URL="${PKG_SITE}.git"
PKG_LICENSE="GPLv3"
@ -10,7 +10,7 @@ PKG_DEPENDS_TARGET="toolchain SDL2 alsa-lib openssl freetype zlib retroarch-asse
PKG_LONGDESC="Reference frontend for the libretro API."
GET_HANDLER_SUPPORT="git"
PKG_PATCH_DIRS+="${DEVICE}"
PKG_PATCH_DIRS+=" ${DEVICE}"
pre_configure_target() {
TARGET_CONFIGURE_OPTS=""

View file

@ -1,26 +0,0 @@
diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c
index cc14b36a23..61b47b5be0 100644
--- a/menu/menu_displaylist.c
+++ b/menu/menu_displaylist.c
@@ -11520,7 +11520,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
case DISPLAYLIST_OPTIONS:
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
{
-#ifdef HAVE_LAKKA
+#ifndef HAVE_LAKKA
if (menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UPDATE_LAKKA),
msg_hash_to_str(MENU_ENUM_LABEL_UPDATE_LAKKA),
diff --git a/menu/menu_setting.c b/menu/menu_setting.c
index b6fd84cab3..2038cb5b55 100644
--- a/menu/menu_setting.c
+++ b/menu/menu_setting.c
@@ -8699,7 +8699,7 @@ static bool setting_append_list(
#endif
#if !defined(IOS)
/* Apple rejects iOS apps that let you forcibly quit them. */
-#ifdef HAVE_LAKKA
+#ifndef HAVE_LAKKA
CONFIG_ACTION(
list, list_info,
MENU_ENUM_LABEL_QUIT_RETROARCH,

View file

@ -47,4 +47,3 @@ index e60a8b2..03ba777 100644
+ const char *name = udev_list_entry_get_name(sorted[i].item);
struct udev_device *dev = udev_device_new_from_syspath(udev_joypad_fd, name);
const char *devnode = udev_device_get_devnode(dev);