Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a save state crash in some situation.
  • Loading branch information
rog9 committed Dec 5, 2012
1 parent 4230241 commit bbf7c3a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp
Expand Up @@ -117,11 +117,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::DoState(PointerWrap &p)
m_acl_pool.DoState(p);

for (unsigned int i = 0; i < 4; i++)
{
if (p.GetMode() == PointerWrap::MODE_READ && !(WIIMOTE_SRC_EMU == g_wiimote_sources[i] || WIIMOTE_SRC_NONE == g_wiimote_sources[i]))
continue;
m_WiiMotes[i].DoState(p);
}

// Reset the connection of real and hybrid wiimotes
if (p.GetMode() == PointerWrap::MODE_READ && SConfig::GetInstance().m_WiimoteReconnectOnLoad)
Expand Down

0 comments on commit bbf7c3a

Please sign in to comment.