engine: platform: sdl: fixed psvita & nswitch platform initializing

This commit is contained in:
SNMetamorph
2023-03-12 16:09:20 +03:00
committed by Alibek Omarov
parent 9040c34f48
commit f9205825b6
+5 -4
View File
@@ -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();
}