mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
win32: Some more work on real wiimote automatic ingame pairup (automatic paired up wiimotes get connected now ingame as well, but it's not completely working yet, we're almost there tho:P) and changed the automatic unpair real wiimotes routine, so it won't get loaded via dll_detach anymore.
minor code changes and adding comments. And issue fix 2792 with credits to Karloathian for finding and fixing it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5750 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -444,6 +444,13 @@ void DolphinApp::OnEndSession()
|
||||
|
||||
int DolphinApp::OnExit()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (SConfig::GetInstance().m_WiiAutoUnpair)
|
||||
{
|
||||
if (CPluginManager::GetInstance().GetWiimote())
|
||||
CPluginManager::GetInstance().GetWiimote()->Wiimote_UnPairWiimotes();
|
||||
}
|
||||
#endif
|
||||
CPluginManager::Shutdown();
|
||||
SConfig::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
|
Reference in New Issue
Block a user