aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-06-18 03:41:36 +0200
committerStapleButter <thetotalworm@gmail.com>2017-06-18 03:41:36 +0200
commitd5fd96c500c9c93e9e6b121310d1b136bb9c45bd (patch)
tree9cc38209b9c75cfff92262a8160d005b1734992e /src
parent8cde75ce539cf2b602b63af546762ee386e9961f (diff)
wifi: another little fix
Diffstat (limited to 'src')
-rw-r--r--src/Wifi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp
index 2db6202..d479cd8 100644
--- a/src/Wifi.cpp
+++ b/src/Wifi.cpp
@@ -682,6 +682,9 @@ bool ProcessTX(TXSlot* slot, int num)
IOPORT(W_TXBusy) &= ~(1<<1);
IOPORT(W_TXSlotCmd) &= 0x7FFF; // confirmed
+ // seems this is set to indicate which clients failed to reply
+ *(u16*)&RAM[slot->Addr + 0x2] = 0;
+
SetIRQ(12);
IOPORT(W_TXSeqNo) = (IOPORT(W_TXSeqNo) + 1) & 0x0FFF;