Pad: Don't save button/analog state

[SAVEVERSION+] unfortunately, because I haven't moved everything over to
StateWrapper yet.
This commit is contained in:
Stenzek 2023-08-26 22:49:55 +10:00 committed by Connor McLaughlin
parent b84d3a5612
commit 7e0ce1fa48
4 changed files with 1 additions and 4 deletions

View File

@ -41,7 +41,6 @@ bool PadBase::Freeze(StateWrapper& sw)
return false;
// Protected PadBase members
sw.Do(&rawInputs);
sw.Do(&unifiedSlot);
sw.Do(&isInConfig);
sw.Do(&currentMode);

View File

@ -815,7 +815,6 @@ bool PadDualshock2::Freeze(StateWrapper& sw)
// Private PadDualshock2 members
sw.Do(&buttons);
sw.DoBytes(&analogs, sizeof(Analogs));
sw.Do(&analogLight);
sw.Do(&analogLocked);
sw.Do(&analogPressed);

View File

@ -402,7 +402,6 @@ bool PadGuitar::Freeze(StateWrapper& sw)
return false;
// Private PadGuitar members
sw.Do(&buttons);
sw.Do(&whammy);
sw.Do(&analogLight);
sw.Do(&analogLocked);

View File

@ -37,7 +37,7 @@ enum class FreezeAction
// [SAVEVERSION+]
// This informs the auto updater that the users savestates will be invalidated.
static const u32 g_SaveVersion = (0x9A3D << 16) | 0x0000;
static const u32 g_SaveVersion = (0x9A3E << 16) | 0x0000;
// the freezing data between submodules and core