Port PSP SDL_main to header-only + SDL_RunApp()

This commit is contained in:
Daniel Gibson authored and Sam Lantinga committed 2022-12-15 08:01:01 -08:00
1 parent b1b3bd654d
commit 989a8ca90e
4 files changed
+90 -64

No files matched your search

+1 -1
View File
@@ -280,7 +280,7 @@ extern DECLSPEC void SDLCALL SDL_GDKSuspendComplete(void);
#if !defined(SDL_MAIN_HANDLED) && !defined(SDL_MAIN_NOIMPL)
/* include header-only SDL_main implementations */
#if defined(__WIN32__) || defined(__GDK__) || defined(__IOS__) || defined(__TVOS__) \
|| defined(__3DS__) || defined(__NGAGE__) || defined(__PS2__)
|| defined(__3DS__) || defined(__NGAGE__) || defined(__PS2__) || defined(__PSP__)
/* platforms whichs main (-equivalent) can be implemented in plain C */
#include <SDL3/SDL_main_impl.h>