Controller: Always preserve internal state when loading/resuming

Fixes analog mode getting disabled when loading state.
This commit is contained in:
Connor McLaughlin
2020-12-17 00:09:32 +10:00
parent b78a6045fc
commit 47f0720b93
15 changed files with 99 additions and 39 deletions

View File

@ -13,7 +13,7 @@ Controller::~Controller() = default;
void Controller::Reset() {}
bool Controller::DoState(StateWrapper& sw)
bool Controller::DoState(StateWrapper& sw, bool apply_input_state)
{
return !sw.HasError();
}