From 9921d2074c1cf498668ad0a3789930a79b900738 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 26 Dec 2024 16:42:17 +1000 Subject: [PATCH] Achievements: Fix serialization on Linux --- src/core/achievements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/achievements.cpp b/src/core/achievements.cpp index cbec86c16..bc0dd2258 100644 --- a/src/core/achievements.cpp +++ b/src/core/achievements.cpp @@ -1785,6 +1785,7 @@ bool Achievements::DoState(StateWrapper& sw) RA_RestoreState(reinterpret_cast(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; }