mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
lsteamclient: Don't convert callbacks with identical layouts
This commit is contained in:
parent
3714637f08
commit
17ce82bc1c
59 changed files with 567 additions and 6195 deletions
|
|
@ -33,11 +33,7 @@ bool cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(void *linux_
|
|||
|
||||
bool cppISteamNetworking_SteamNetworking003_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState)
|
||||
{
|
||||
P2PSessionState_t lin_pConnectionState;
|
||||
win_to_lin_struct_P2PSessionState_t_110(pConnectionState, &lin_pConnectionState);
|
||||
bool retval = ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, &lin_pConnectionState);
|
||||
lin_to_win_struct_P2PSessionState_t_110(&lin_pConnectionState, pConnectionState);
|
||||
return retval;
|
||||
return ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState);
|
||||
}
|
||||
|
||||
SNetListenSocket_t cppISteamNetworking_SteamNetworking003_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue