From 38bbd9c2ab6c1455c4950bc0abfdd4e6f7f21e62 Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 28 Jan 2026 19:03:55 +0000 Subject: [PATCH] use newer sdl2, make bigger stack --- externals/cpmfile.json | 9 ++++++--- src/common/fiber.cpp | 2 +- src/yuzu_cmd/CMakeLists.txt | 4 +--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/externals/cpmfile.json b/externals/cpmfile.json index f24c69bd40..aa0d06057d 100644 --- a/externals/cpmfile.json +++ b/externals/cpmfile.json @@ -191,11 +191,14 @@ }, "sdl2_ps4": { "package": "SDL2", - "repo": "xinitrcn1/SDL", - "sha": "f577141fc4", + "repo": "libsdl-org/SDL", + "sha": "0c7042477a", "key": "ps4", "bundled": true, - "skip_updates": true + "skip_updates": true, + "patches": [ + "0001-ps4.patch" + ] }, "moltenvk": { "repo": "V380-Ori/Ryujinx.MoltenVK", diff --git a/src/common/fiber.cpp b/src/common/fiber.cpp index 69eca732eb..0c9bd4fb4d 100644 --- a/src/common/fiber.cpp +++ b/src/common/fiber.cpp @@ -16,7 +16,7 @@ namespace Common { #ifdef __OPENORBIS__ -constexpr size_t DEFAULT_STACK_SIZE = 128 * 4096; +constexpr size_t DEFAULT_STACK_SIZE = 256 * 4096; #else constexpr size_t DEFAULT_STACK_SIZE = 512 * 4096; #endif diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index c153e9fb78..3b85bc1d28 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt @@ -39,9 +39,7 @@ target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads) create_resource("../../dist/eden.bmp" "yuzu_cmd/yuzu_icon.h" "yuzu_icon") target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR}) - -target_include_directories(yuzu-cmd PRIVATE ${CMAKE_SYSROOT}/include/SDL2) -target_link_libraries(yuzu-cmd PRIVATE SDL2) +target_link_libraries(yuzu-cmd PRIVATE SDL2::SDL2) if(UNIX AND NOT APPLE) install(TARGETS yuzu-cmd)