Achievements: Fix serialization on Linux
This commit is contained in:
parent
5c83bbe5c5
commit
9921d2074c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue