From 83fa985d2145942b95e631d9dd279728b90f46d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 13 Jun 2025 23:02:38 +0200 Subject: [PATCH] Merge pull request #20518 from hrydgard/disable-cache-iso-32bit Disable the Cache full ISO in RAM feature on 32-bit builds --- SDL/SDLMain.cpp | 7 +++---- Windows/main.cpp | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp index 587cbe4e3b..7a2d836c07 100644 --- a/SDL/SDLMain.cpp +++ b/SDL/SDLMain.cpp @@ -765,12 +765,11 @@ case SYSPROP_HAS_FILE_BROWSER: case SYSPROP_CAN_READ_BATTERY_PERCENTAGE: return true; case SYSPROP_ENOUGH_RAM_FOR_FULL_ISO: -#if defined(MOBILE_DEVICE) - return false; -#else +#if PPSSPP_ARCH(64BIT) && !defined(MOBILE_DEVICE) return true; +#else + return false; #endif - // hack for testing - do not commit case SYSPROP_USE_IAP: return false; diff --git a/Windows/main.cpp b/Windows/main.cpp index 446b3fb3dc..4a4a0c915a 100644 --- a/Windows/main.cpp +++ b/Windows/main.cpp @@ -413,7 +413,11 @@ bool System_GetPropertyBool(SystemProperty prop) { case SYSPROP_CAN_READ_BATTERY_PERCENTAGE: return true; case SYSPROP_ENOUGH_RAM_FOR_FULL_ISO: +#if PPSSPP_ARCH(64BIT) return true; +#else + return false; +#endif default: return false; }