mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-21 23:39:55 +00:00
FIX FOR DETECT PLATFORM
This commit is contained in:
@@ -15,7 +15,7 @@ index 8872895..b0eeca8 100644
|
||||
endif()
|
||||
|
||||
+# Always on?
|
||||
+if (PLATFORM_PS4)
|
||||
+if (OPENORBIS)
|
||||
+ sdl_sources(
|
||||
+ "${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_systhread.c"
|
||||
+ "${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_sysmutex.c" # Can be faked, if necessary
|
||||
@@ -38,7 +38,7 @@ index 8872895..b0eeca8 100644
|
||||
if(NOT HAVE_SDL_THREADS)
|
||||
# The Emscripten and N-Gage platform has been carefully vetted to work without threads
|
||||
- if(EMSCRIPTEN OR NGAGE)
|
||||
+ if(EMSCRIPTEN OR NGAGE OR PLATFORM_PS4)
|
||||
+ if(EMSCRIPTEN OR NGAGE OR OPENORBIS)
|
||||
set(SDL_THREADS_DISABLED 1)
|
||||
sdl_glob_sources(
|
||||
"${SDL3_SOURCE_DIR}/src/thread/generic/*.c"
|
||||
|
||||
@@ -2,7 +2,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b0eeca8..076cbe4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -3655,15 +3655,21 @@ if (PLATFORM_PS4)
|
||||
@@ -3655,15 +3655,21 @@ if (OPENORBIS)
|
||||
"${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_sysrwlock.c" # Can be faked, if necessary
|
||||
"${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_systls.c"
|
||||
"${SDL3_SOURCE_DIR}/src/thread/generic/SDL_syssem.c"
|
||||
|
||||
Reference in New Issue
Block a user