Pad: Fix loading controllers from save states

pull/1072/head
Albert Liu 4 years ago
parent f9d2643d98
commit 81a638cabb

@ -67,7 +67,11 @@ bool Pad::DoState(StateWrapper& sw)
m_controllers[i].reset();
if (state_controller_type != ControllerType::None)
{
m_controllers[i] = Controller::Create(state_controller_type, i);
if (!sw.DoMarker("Controller") || !m_controllers[i]->DoState(sw))
return false;
}
}
else
{

Loading…
Cancel
Save