all repos — mgba @ 5d05e38d27ccf8ec38865e04d2183735c49f9c9f

mGBA Game Boy Advance Emulator

Switch: Minor init/deinit fixes
Vicki Pfau vi@endrift.com
Sun, 26 May 2019 19:44:58 -0700
commit

5d05e38d27ccf8ec38865e04d2183735c49f9c9f

parent

585563eed76c8930b4d0f71d0ba14a371c84f48c

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/feature/gui/gui-runner.csrc/feature/gui/gui-runner.c

@@ -219,6 +219,7 @@

#ifndef DISABLE_THREADING if (!runner->autosave.running) { runner->autosave.running = true; + runner->autosave.core = NULL; MutexInit(&runner->autosave.mutex); ConditionInit(&runner->autosave.cond); ThreadCreate(&runner->autosave.thread, mGUIAutosaveThread, &runner->autosave);
M src/platform/switch/main.csrc/platform/switch/main.c

@@ -806,6 +806,7 @@ hidStopSixAxisSensor(handles[3]);

psmExit(); audoutExit(); + romfsExit(); deinitEgl(); socketExit(); return 0;