Reset Wiimotes on force stop and when starting MIOS
This commit is contained in:
parent
a23609562d
commit
4d4a095c76
|
@ -290,6 +290,7 @@ void Stop() // - Hammertime!
|
|||
g_video_backend->Video_ExitLoop();
|
||||
}
|
||||
|
||||
Wiimote::ResetAllWiimotes();
|
||||
ResetRumble();
|
||||
|
||||
#ifdef USE_MEMORYWATCHER
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "Core/HW/DVD/DVDInterface.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/HW/SystemTimers.h"
|
||||
#include "Core/HW/Wiimote.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/PowerPC/PPCSymbolDB.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
|
@ -35,6 +36,7 @@ static void ReinitHardware()
|
|||
// MIOS appears to only reset the DI and the PPC.
|
||||
DVDInterface::Reset();
|
||||
PowerPC::Reset();
|
||||
Wiimote::ResetAllWiimotes();
|
||||
// Note: this is specific to Dolphin and is required because we initialised it in Wii mode.
|
||||
DSP::Reinit(SConfig::GetInstance().bDSPHLE);
|
||||
DSP::GetDSPEmulator()->Initialize(SConfig::GetInstance().bWii, SConfig::GetInstance().bDSPThread);
|
||||
|
|
Loading…
Reference in New Issue