mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-19 22:16:36 +00:00
Add circle_pad_old_* to savestates. (#7250)
This is particularly relavant for TASing, not savestating these values will often cause dropped inputs on loading a savestate, due to the previous old circle pad values being used rather than the ones used during the savestate. For casual usage, this likely doesn't have much effect compared to the previous code, considering a casual user is probably not likely to care if inputs on the first frame of loading a savestate is dropped or not.
This commit is contained in:
parent
762ddfd07b
commit
02ba5c652b
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ void Module::serialize(Archive& ar, const unsigned int file_version) {
|
|||
LoadInputDevices();
|
||||
}
|
||||
ar& state.hex;
|
||||
ar& circle_pad_old_x;
|
||||
ar& circle_pad_old_y;
|
||||
// Update events are set in the constructor
|
||||
// Devices are set from the implementation (and are stateless afaik)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue