diff --git a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp index 11530512c8..5309d9fc6a 100644 --- a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp +++ b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp @@ -15,33 +15,38 @@ // Official SVN repository and contact information can be found at // http://code.google.com/p/dolphin-emu/ -#include "../Memmap.h" #include "../EXI_Device.h" #include "../EXI_DeviceEthernet.h" -bool CEXIETHERNET::deactivate() { - return true; -} -bool CEXIETHERNET::isActivated() { + +bool CEXIETHERNET::Activate() +{ return false; } -bool CEXIETHERNET::activate() { + +void CEXIETHERNET::Deactivate() +{ +} + +bool CEXIETHERNET::IsActivated() +{ return false; } -bool CEXIETHERNET::CheckRecieved() { + +bool CEXIETHERNET::SendFrame(u8 *, u32) +{ return false; } -bool CEXIETHERNET::resume() { + +bool CEXIETHERNET::RecvInit() +{ return false; } -bool CEXIETHERNET::startRecv() { + +bool CEXIETHERNET::RecvStart() +{ return false; } -bool CEXIETHERNET::sendPacket(u8 *etherpckt, int size) { - return false; -} -bool CEXIETHERNET::handleRecvdPacket() { - return false; -} -bool CEXIETHERNET::cbwriteDescriptor(u32 size) { - return false; + +void CEXIETHERNET::RecvStop() +{ } diff --git a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp index 921473f7df..5419f67b1b 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp @@ -55,9 +55,9 @@ void GenerateMAC(MACConsumer type, u8 (&mac)[6]) u8 id[3] = { - rand() & 0xff, - rand() & 0xff, - rand() & 0xff + (u8)rand(), + (u8)rand(), + (u8)rand() }; memcpy(&mac[3], id, 3);