diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-24 13:36:18 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-24 13:36:18 +0200 |
commit | c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c (patch) | |
tree | a33de9a6c741755362127b9fae9e6e33ebd864ae /src/progs/manaplus/client.cpp | |
parent | fae5ba054cf9b82da218cfc4df7686f13d3107d3 (diff) | |
download | mv-c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c.tar.gz mv-c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c.tar.bz2 mv-c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c.tar.xz mv-c4fad09b3d29679b15d456f6cc0d61b0f59a8d4c.zip |
switch: don't use atexit not working on switch
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 772975214..cea2d10af 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -387,8 +387,9 @@ void Client::gameInit() logger->safeError(strprintf("Could not initialize SDL: %s", SDL_GetError())); } +#ifndef __SWITCH__ atexit(SDL_Quit); - +#endif PacketLimiter::initPacketLimiter(); #ifndef USE_SDL2 SDL_EnableUNICODE(1); |