Skip to content

Commit

Permalink
Achievements: Fix serialization on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 26, 2024
1 parent 5c83bbe commit 9921d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/achievements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -1793,7 +1794,6 @@ bool Achievements::DoState(StateWrapper& sw)
rc_client_reset(s_state.client);
}
}
#endif

return true;
}
Expand Down

0 comments on commit 9921d20

Please sign in to comment.