Fix a changed variable

This commit is contained in:
Jack Garrard 2022-10-21 12:57:40 -07:00
parent d666707e24
commit ba7612a304

View file

@ -253,8 +253,8 @@ bool SocketClient::recv() {
Packet *packet = reinterpret_cast<Packet*>(packetBuf); Packet *packet = reinterpret_cast<Packet*>(packetBuf);
if(mPacketQueue.size() < maxBufSize - 1) { if(!mRecvQueue.isFull()) {
mPacketQueue.pushBack(packet); mRecvQueue.push((s64)packet, sead::MessageQueue::BlockType::NonBlocking);
this->has_recv_udp = true; this->has_recv_udp = true;
} else { } else {
free(packetBuf); free(packetBuf);