Fixed newly-introduced compile-breaking bugs in the network code.

This commit is contained in:
OBattler
2019-11-14 21:22:54 +01:00
parent aed984c265
commit 841a1f67da
4 changed files with 20 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ poll_thread(void *arg)
/* Wait for the next packet to arrive. */
data_valid = 0;
if (!network_wait && (QueuePeek(slirpq) != 0)) {
if (!network_get_wait() && (QueuePeek(slirpq) != 0)) {
/* Grab a packet from the queue. */
// ui_sb_update_icon(SB_NETWORK, 1);