Misc: Loading old save state versions is unlikely

This commit is contained in:
Stenzek
2024-05-31 18:48:26 +10:00
parent c4bf5b4f2c
commit 723af4de3a
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ bool PlayStationMouse::DoState(StateWrapper& sw, bool apply_input_state)
float delta_x = m_delta_x;
float delta_y = m_delta_y;
sw.Do(&button_state);
if (sw.GetVersion() >= 60)
if (sw.GetVersion() >= 60) [[unlikely]]
{
sw.Do(&delta_x);
sw.Do(&delta_y);