aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/main.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-03-15 01:08:37 +0100
committerArisotura <thetotalworm@gmail.com>2019-03-15 01:08:37 +0100
commitb52458d7be093281435f3d33872595ecc56521e1 (patch)
tree78582912ba294f4a2d8d17ea4d78b92622df02d2 /src/libui_sdl/main.cpp
parent4de4631c15597c676e6cda612e26ed99e1f100e3 (diff)
here have more code aaaaaaaaaaaaa
Diffstat (limited to 'src/libui_sdl/main.cpp')
-rw-r--r--src/libui_sdl/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index 25c7249..e4ac78a 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -632,6 +632,7 @@ int EmuThreadFunc(void* burp)
if (joybuttons) delete[] joybuttons;
NDS::DeInit();
+ Platform::LAN_DeInit();
return 44203;
}
@@ -1679,7 +1680,8 @@ void ApplyNewSettings(int type)
Platform::MP_Init();
}
- // TODO: cycle LAN shito
+ Platform::LAN_DeInit();
+ Platform::LAN_Init();
}
EmuRunning = prevstatus;