From 51c51c0fda23a5161f93ec5a758c74e5287569f0 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Thu, 18 Jun 2009 01:15:48 +0000 Subject: [PATCH] Just helps BBA in Linux a bit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3486 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp | 2 +- Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp index e8c1447801..286e0eeebe 100644 --- a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp +++ b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp @@ -76,7 +76,7 @@ bool CEXIETHERNET::activate() { #endif DEBUGPRINT("Returned Socket name is: %s\n", ifr.ifr_name); system("brctl addif pan0 Dolphin"); - system("ifconfig Dolphin up"); + system("ifconfig Dolphin 0.0.0.0 promisc up"); resume(); return true; diff --git a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp index d4fc33cb89..5e1fa4d467 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp @@ -159,6 +159,7 @@ void CEXIETHERNET::recordSendComplete() m_bInterruptSet = true; //interrupt.raiseEXI("BBA Send"); } + startRecv(); mPacketsSent++; } @@ -291,7 +292,7 @@ void CEXIETHERNET::ImmWrite(u32 _uData, u32 _uSize) if(_uSize == 4) { printf("\t\t\tData is 0x%08x\n", SwappedData); - exit(0); + //exit(0); } } else if( _uSize == 2)