engine: platform: sdl: fixed psvita & nswitch platform initializing
This commit is contained in:
parent
9040c34f48
commit
f9205825b6
1 changed files with 5 additions and 4 deletions
|
@ -63,15 +63,16 @@ void Platform_Init( void )
|
|||
SDL_StopTextInput();
|
||||
#endif // XASH_SDL == 2
|
||||
|
||||
#if XASH_NSWITCH
|
||||
NSwitch_Init();
|
||||
#elif XASH_WIN32
|
||||
#if XASH_WIN32
|
||||
Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors
|
||||
#elif XASH_POSIX
|
||||
Posix_Daemonize();
|
||||
#elif XASH_PSVITA
|
||||
#if XASH_PSVITA
|
||||
PSVita_Init();
|
||||
#elif XASH_NSWITCH
|
||||
NSwitch_Init();
|
||||
#endif
|
||||
#endif // XASH_POSIX
|
||||
|
||||
SDLash_InitCursors();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue