summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorzeroZshadow <martijn_gerkes@hotmail.com>2015-08-13 19:27:19 +0200
committerzeroZshadow <martijn_gerkes@hotmail.com>2015-08-13 22:45:29 +0200
commit8925b828aa75b21d1069d2c238dca944088309c0 (patch)
treee228d63c50dd025448b719b323d3058ee39f835e /Source/Core
parent798365846d59a0704b25c632f75276a673d49e88 (diff)
Ignore all writes to BBA_TXFIFOCNT
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp4
-rw-r--r--Source/Core/Core/HW/EXI_DeviceEthernet.cpp6
2 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp
index 6f60f3f380..dbe0116400 100644
--- a/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp
+++ b/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp
@@ -248,7 +248,7 @@ bool CEXIETHERNET::SendFrame(u8 *frame, u32 size)
OVERLAPPED overlap;
ZeroMemory(&overlap, sizeof(overlap));
- //WriteFile will always return false because the TAP handle is async
+ // WriteFile will always return false because the TAP handle is async
WriteFile(mHAdapter, frame, size, NULL, &overlap);
DWORD res = GetLastError();
@@ -314,7 +314,7 @@ bool CEXIETHERNET::RecvStart()
if (res)
{
- // Synce the read is syncronouse here, complete immediately
+ // Since the read is synchronous here, complete immediately
RecvHandlePacket();
}
diff --git a/Source/Core/Core/HW/EXI_DeviceEthernet.cpp b/Source/Core/Core/HW/EXI_DeviceEthernet.cpp
index 3468bad8d8..2de81059af 100644
--- a/Source/Core/Core/HW/EXI_DeviceEthernet.cpp
+++ b/Source/Core/Core/HW/EXI_DeviceEthernet.cpp
@@ -358,6 +358,12 @@ void CEXIETHERNET::MXCommandHandler(u32 data, u32 size)
data &= (data & 0xff) ^ 0xff;
goto write_to_register;
+ case BBA_TXFIFOCNT:
+ case BBA_TXFIFOCNT+1:
+ // Ignore all writes to BBA_TXFIFOCNT
+ transfer.address += size;
+ return;
+
write_to_register:
default:
for (int i = size - 1; i >= 0; i--)