mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
This fixes some of the crash-on-stop when your joypad is plugged in.
The problem is that there is no cheap method to do communications between two DLLs that employ the same device. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4992 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8bb96156a2
commit
6d309751d5
@ -318,12 +318,17 @@ void Shutdown()
|
||||
INFO_LOG(WIIMOTE, "ShutDown");
|
||||
|
||||
ResetVariables();
|
||||
// We can't close it here or it might crash
|
||||
// because the joystick could have been closed already in GCPad
|
||||
// But there is no easy way to know the situation of another DLL
|
||||
// So we just skip the close procedure here
|
||||
/*
|
||||
// Close joypads
|
||||
Close_Devices();
|
||||
// Finally close SDL
|
||||
if (SDL_WasInit(0))
|
||||
SDL_Quit();
|
||||
|
||||
*/
|
||||
g_SearchDeviceDone = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user