aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/switch/switch-main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/platform/sdl/switch/switch-main.cpp b/backends/platform/sdl/switch/switch-main.cpp
index 0cc48ba0cd..71d80c144d 100644
--- a/backends/platform/sdl/switch/switch-main.cpp
+++ b/backends/platform/sdl/switch/switch-main.cpp
@@ -29,8 +29,8 @@
int main(int argc, char *argv[]) {
-#ifdef __SWITCH_DEBUG__
socketInitializeDefault();
+#ifdef __SWITCH_DEBUG__
nxlinkStdio();
#endif
@@ -51,9 +51,7 @@ int main(int argc, char *argv[]) {
// Free OSystem
g_system->destroy();
-#ifdef __SWITCH_DEBUG__
socketExit();
-#endif
return res;
}