Browse Source

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

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
f9205825b6
  1. 9
      engine/platform/sdl/sys_sdl.c

9
engine/platform/sdl/sys_sdl.c

@ -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…
Cancel
Save