From 8c015a723804322c370db2449883b5b335c15fe9 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Thu, 28 May 2026 21:38:50 +0100 Subject: [PATCH] webOS: disable fast mem arena by default as not enough memory --- CMakeLists.txt | 2 +- Source/Core/DolphinLibretro/Common/Options.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20b72f0c940b..8579acc84e85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -516,7 +516,7 @@ if(LIBRETRO) # Xbox remove dependency on Zlib set(USE_SYSTEM_ZLIB OFF CACHE BOOL "" FORCE) endif() - if(CMAKE_CXX_COMPILER MATCHES "arm-webos-linux-gnueabi-") + if(CMAKE_CXX_COMPILER MATCHES ".*(arm-webos-linux-gnueabi-|aarch64-webos-linux-gnu).*") set(WEBOS TRUE CACHE BOOL "Building for webOS") add_definitions(-D__WEBOS__) set(ENABLE_VULKAN OFF CACHE BOOL "" FORCE) diff --git a/Source/Core/DolphinLibretro/Common/Options.cpp b/Source/Core/DolphinLibretro/Common/Options.cpp index d02906548e00..157153c77610 100644 --- a/Source/Core/DolphinLibretro/Common/Options.cpp +++ b/Source/Core/DolphinLibretro/Common/Options.cpp @@ -201,7 +201,11 @@ static struct retro_core_option_v2_definition option_defs[] = { { "enabled", nullptr }, { nullptr, nullptr } }, +#ifdef __WEBOS__ + "disabled" +#else "enabled" +#endif }, { Libretro::Options::core::MAIN_ACCURATE_CPU_CACHE,