Controller: Always preserve internal state when loading/resuming
Fixes analog mode getting disabled when loading state.
This commit is contained in:
parent
b78a6045fc
commit
47f0720b93
15 changed files with 99 additions and 39 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue