Browse Source

use newer sdl2, make bigger stack

eden-orbis-ps4
lizzie 1 week ago
parent
commit
65d6b601e9
  1. 9
      externals/cpmfile.json
  2. 2
      src/common/fiber.cpp
  3. 3
      src/input_common/CMakeLists.txt
  4. 3
      src/yuzu/CMakeLists.txt
  5. 4
      src/yuzu_cmd/CMakeLists.txt

9
externals/cpmfile.json

@ -213,11 +213,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",

2
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

3
src/input_common/CMakeLists.txt

@ -75,8 +75,7 @@ if (ENABLE_SDL2)
helpers/joycon_protocol/rumble.cpp
helpers/joycon_protocol/rumble.h
)
target_include_directories(input_common PRIVATE ${CMAKE_SYSROOT}/include/SDL2)
target_link_libraries(input_common PRIVATE SDL2)
target_link_libraries(input_common PRIVATE SDL2::SDL2)
target_compile_definitions(input_common PRIVATE HAVE_SDL2)
endif()

3
src/yuzu/CMakeLists.txt

@ -430,8 +430,7 @@ if (WIN32 AND NOT YUZU_USE_BUNDLED_QT AND QT_VERSION VERSION_GREATER_EQUAL 6)
endif()
if (ENABLE_SDL2)
target_include_directories(yuzu PRIVATE ${CMAKE_SYSROOT}/include/SDL2)
target_link_libraries(yuzu PRIVATE SDL2)
target_link_libraries(yuzu PRIVATE SDL2::SDL2)
target_compile_definitions(yuzu PRIVATE HAVE_SDL2)
endif()

4
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)

Loading…
Cancel
Save