Restored pushes, hopefully fix netplay.
This commit is contained in:
@@ -1609,6 +1609,8 @@ NEWSYM TCPIPSendPacket
|
|||||||
pushad
|
pushad
|
||||||
; Send PacketSendArray with size of PacketSendSize
|
; Send PacketSendArray with size of PacketSendSize
|
||||||
; SendData(int [PacketSendSize],char *PacketSendArray)
|
; SendData(int [PacketSendSize],char *PacketSendArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call SendDataNop
|
call SendDataNop
|
||||||
or eax,eax
|
or eax,eax
|
||||||
jnz .failed
|
jnz .failed
|
||||||
@@ -1629,6 +1631,8 @@ NEWSYM TCPIPSendPacketUDP
|
|||||||
pushad
|
pushad
|
||||||
; Send PacketSendArray with size of PacketSendSize
|
; Send PacketSendArray with size of PacketSendSize
|
||||||
; SendData(int [PacketSendSize],char *PacketSendArray)
|
; SendData(int [PacketSendSize],char *PacketSendArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call SendDataUDPNop
|
call SendDataUDPNop
|
||||||
or eax,eax
|
or eax,eax
|
||||||
jnz .failed
|
jnz .failed
|
||||||
@@ -1647,6 +1651,8 @@ NEWSYM TCPIPRecvPacket
|
|||||||
pushad
|
pushad
|
||||||
; Store packet to PacketRecvArray, size at PacketRecvSize
|
; Store packet to PacketRecvArray, size at PacketRecvSize
|
||||||
; int GetData(int 2048,char *PacketRecvArray)
|
; int GetData(int 2048,char *PacketRecvArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call GetDataNop
|
call GetDataNop
|
||||||
cmp eax,-1
|
cmp eax,-1
|
||||||
je .failed
|
je .failed
|
||||||
|
|||||||
@@ -1913,6 +1913,8 @@ NEWSYM TCPIPSendPacket
|
|||||||
pushad
|
pushad
|
||||||
; Send PacketSendArray with size of PacketSendSize
|
; Send PacketSendArray with size of PacketSendSize
|
||||||
; SendData(int [PacketSendSize],char *PacketSendArray)
|
; SendData(int [PacketSendSize],char *PacketSendArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call SendDataNop
|
call SendDataNop
|
||||||
or eax,eax
|
or eax,eax
|
||||||
jnz .failed
|
jnz .failed
|
||||||
@@ -1933,6 +1935,8 @@ NEWSYM TCPIPSendPacketUDP
|
|||||||
pushad
|
pushad
|
||||||
; Send PacketSendArray with size of PacketSendSize
|
; Send PacketSendArray with size of PacketSendSize
|
||||||
; SendData(int [PacketSendSize],char *PacketSendArray)
|
; SendData(int [PacketSendSize],char *PacketSendArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call SendDataUDPNop
|
call SendDataUDPNop
|
||||||
or eax,eax
|
or eax,eax
|
||||||
jnz .failed
|
jnz .failed
|
||||||
@@ -1951,6 +1955,8 @@ NEWSYM TCPIPRecvPacket
|
|||||||
pushad
|
pushad
|
||||||
; Store packet to PacketRecvArray, size at PacketRecvSize
|
; Store packet to PacketRecvArray, size at PacketRecvSize
|
||||||
; int GetData(int 2048,char *PacketRecvArray)
|
; int GetData(int 2048,char *PacketRecvArray)
|
||||||
|
push eax ; required pushes to get correct stack
|
||||||
|
push eax
|
||||||
call GetDataNop
|
call GetDataNop
|
||||||
cmp eax,-1
|
cmp eax,-1
|
||||||
je .failed
|
je .failed
|
||||||
|
|||||||
Reference in New Issue
Block a user