mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-31 09:15:13 +00:00
engine: platform: sdl: fixed psvita & nswitch platform initializing
This commit is contained in:
parent
9040c34f48
commit
f9205825b6
@ -63,15 +63,16 @@ void Platform_Init( void )
|
|||||||
SDL_StopTextInput();
|
SDL_StopTextInput();
|
||||||
#endif // XASH_SDL == 2
|
#endif // XASH_SDL == 2
|
||||||
|
|
||||||
#if XASH_NSWITCH
|
#if XASH_WIN32
|
||||||
NSwitch_Init();
|
|
||||||
#elif XASH_WIN32
|
|
||||||
Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors
|
Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors
|
||||||
#elif XASH_POSIX
|
#elif XASH_POSIX
|
||||||
Posix_Daemonize();
|
Posix_Daemonize();
|
||||||
#elif XASH_PSVITA
|
#if XASH_PSVITA
|
||||||
PSVita_Init();
|
PSVita_Init();
|
||||||
|
#elif XASH_NSWITCH
|
||||||
|
NSwitch_Init();
|
||||||
#endif
|
#endif
|
||||||
|
#endif // XASH_POSIX
|
||||||
|
|
||||||
SDLash_InitCursors();
|
SDLash_InitCursors();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user