diff --git a/engine/platform/nswitch/sys_nswitch.c b/engine/platform/nswitch/sys_nswitch.c index bba21009..805a8147 100644 --- a/engine/platform/nswitch/sys_nswitch.c +++ b/engine/platform/nswitch/sys_nswitch.c @@ -119,7 +119,4 @@ void NSwitch_Init( void ) void NSwitch_Shutdown( void ) { printf( "%s\n", __func__ ); - // force deinit everything SDL-related to avoid issues with changing games - if ( SDL_WasInit( 0 ) ) - SDL_Quit( ); } diff --git a/engine/platform/sdl/sys_sdl.c b/engine/platform/sdl/sys_sdl.c index 50f0c4b9..4cc161a6 100644 --- a/engine/platform/sdl/sys_sdl.c +++ b/engine/platform/sdl/sys_sdl.c @@ -68,4 +68,6 @@ void SDLash_Init( void ) void SDLash_Shutdown( void ) { SDLash_FreeCursors(); + + SDL_Quit(); }