Achievements: Fix serialization on Linux

This commit is contained in:
Stenzek 2024-12-26 16:42:17 +10:00
parent 5c83bbe5c5
commit 9921d2074c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1785,6 +1785,7 @@ bool Achievements::DoState(StateWrapper& sw)
RA_RestoreState(reinterpret_cast<const char*>(data.data()));
}
else
#endif
{
const int result = rc_client_deserialize_progress_sized(s_state.client, data.data(), data_size);
if (result != RC_OK)
@ -1793,7 +1794,6 @@ bool Achievements::DoState(StateWrapper& sw)
rc_client_reset(s_state.client);
}
}
#endif
return true;
}