Move SocketManager's DecodeError to Common

Fix thread safety issue
This commit is contained in:
Sepalani
2022-08-22 12:39:02 +04:00
parent cc3e6a11ac
commit 597fb9ff6d
3 changed files with 27 additions and 23 deletions

View File

@ -265,4 +265,5 @@ u16 ComputeTCPNetworkChecksum(const IPAddress& from, const IPAddress& to, const
u16 length, u8 protocol);
NetworkErrorState SaveNetworkErrorState();
void RestoreNetworkErrorState(const NetworkErrorState& state);
const char* DecodeNetworkError(s32 error_code);
} // namespace Common