this might be a good idea

This commit is contained in:
StapleButter 2020-05-19 13:28:46 +02:00
parent d5f1633019
commit 9fbf9b997b
1 changed files with 1 additions and 0 deletions

View File

@ -1045,6 +1045,7 @@ int main(int argc, char** argv)
emuThread->emuStop(); emuThread->emuStop();
emuThread->wait(); emuThread->wait();
delete emuThread;
//if (Joystick) SDL_JoystickClose(Joystick); //if (Joystick) SDL_JoystickClose(Joystick);
if (audioDevice) SDL_CloseAudioDevice(audioDevice); if (audioDevice) SDL_CloseAudioDevice(audioDevice);