updated Makefile.psp and SDL_config_psp.h

This commit is contained in:
Ozkan Sezer 2022-01-08 11:55:10 +03:00
parent f62b807174
commit 21914b4e2f
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,6 @@
# The threads code require a rather new PSP SDK with SceLwMutexWorkarea:
# https://github.com/pspdev/pspsdk/commit/276d9e3ca6fb26479ad050c21431b2a40f518365
#
TARGET_LIB = libSDL2.a TARGET_LIB = libSDL2.a
EXTRA_TARGETS = libSDL2main.a EXTRA_TARGETS = libSDL2main.a
OBJS= src/SDL.o \ OBJS= src/SDL.o \
@ -36,7 +39,7 @@ OBJS= src/SDL.o \
src/joystick/virtual/SDL_virtualjoystick.o \ src/joystick/virtual/SDL_virtualjoystick.o \
src/power/SDL_power.o \ src/power/SDL_power.o \
src/power/psp/SDL_syspower.o \ src/power/psp/SDL_syspower.o \
src/filesystem/dummy/SDL_sysfilesystem.o \ src/filesystem/psp/SDL_sysfilesystem.o \
src/locale/SDL_locale.o \ src/locale/SDL_locale.o \
src/locale/dummy/SDL_syslocale.o \ src/locale/dummy/SDL_syslocale.o \
src/misc/SDL_url.o \ src/misc/SDL_url.o \

View File

@ -25,8 +25,6 @@
#include "SDL_platform.h" #include "SDL_platform.h"
#ifdef __GNUC__ #ifdef __GNUC__
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1 #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
#endif #endif
@ -34,7 +32,7 @@
#define HAVE_GCC_ATOMICS 1 #define HAVE_GCC_ATOMICS 1
#define STDC_HEADERS 1 #define STDC_HEADERS 1
#define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA_H 1
#define HAVE_CTYPE_H 1 #define HAVE_CTYPE_H 1
#define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1 #define HAVE_LIMITS_H 1
@ -152,8 +150,8 @@
#define SDL_POWER_PSP 1 #define SDL_POWER_PSP 1
/* !!! FIXME: what does PSP do for filesystem stuff? */ /* Enable the PSP filesystem support (src/filesystem/psp/\*.c) */
#define SDL_FILESYSTEM_DUMMY 1 #define SDL_FILESYSTEM_PSP 1
/* PSP doesn't have haptic device (src/haptic/dummy/\*.c) */ /* PSP doesn't have haptic device (src/haptic/dummy/\*.c) */
#define SDL_HAPTIC_DISABLED 1 #define SDL_HAPTIC_DISABLED 1
@ -164,5 +162,4 @@
/* PSP can't load shared object (src/loadso/dummy/\*.c) */ /* PSP can't load shared object (src/loadso/dummy/\*.c) */
#define SDL_LOADSO_DISABLED 1 #define SDL_LOADSO_DISABLED 1
#endif /* SDL_config_psp_h_ */ #endif /* SDL_config_psp_h_ */