Just helps BBA in Linux a bit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3486 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-06-18 01:15:48 +00:00
parent 37ceb042e1
commit 51c51c0fda
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ bool CEXIETHERNET::activate() {
#endif #endif
DEBUGPRINT("Returned Socket name is: %s\n", ifr.ifr_name); DEBUGPRINT("Returned Socket name is: %s\n", ifr.ifr_name);
system("brctl addif pan0 Dolphin"); system("brctl addif pan0 Dolphin");
system("ifconfig Dolphin up"); system("ifconfig Dolphin 0.0.0.0 promisc up");
resume(); resume();
return true; return true;

View File

@ -159,6 +159,7 @@ void CEXIETHERNET::recordSendComplete()
m_bInterruptSet = true; m_bInterruptSet = true;
//interrupt.raiseEXI("BBA Send"); //interrupt.raiseEXI("BBA Send");
} }
startRecv();
mPacketsSent++; mPacketsSent++;
} }
@ -291,7 +292,7 @@ void CEXIETHERNET::ImmWrite(u32 _uData, u32 _uSize)
if(_uSize == 4) if(_uSize == 4)
{ {
printf("\t\t\tData is 0x%08x\n", SwappedData); printf("\t\t\tData is 0x%08x\n", SwappedData);
exit(0); //exit(0);
} }
} }
else if( _uSize == 2) else if( _uSize == 2)