summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-05-26 21:07:29 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-05-26 21:07:29 +0000
commitd195dbbe8d8b4f45e598d6ec4bae3129f4eb4c90 (patch)
tree2dff570c02ea0d9ca819ec9860adb13cd1552351 /Source
parent005948e18e7ae25c8b87d012bbb75dafe079dd64 (diff)
OS X compile fix, My BBA broke it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3287 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp47
-rw-r--r--Source/Core/Core/Src/SConscript10
2 files changed, 55 insertions, 2 deletions
diff --git a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp
new file mode 100644
index 0000000000..43ff369412
--- /dev/null
+++ b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Apple.cpp
@@ -0,0 +1,47 @@
+// Copyright (C) 2003-2009 Dolphin Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// 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()
+{
+ return false;
+}
+
+bool CEXIETHERNET::activate() {
+ return false;
+}
+bool CEXIETHERNET::CheckRecieved()
+{
+}
+bool CEXIETHERNET::resume() {
+}
+bool CEXIETHERNET::startRecv() {
+}
+bool CEXIETHERNET::sendPacket(u8 *etherpckt, int size)
+{
+}
+bool CEXIETHERNET::handleRecvdPacket()
+{
+}
+bool CEXIETHERNET::cbwriteDescriptor(u32 size) {
+}
diff --git a/Source/Core/Core/Src/SConscript b/Source/Core/Core/Src/SConscript
index 705e17e7c0..539c549162 100644
--- a/Source/Core/Core/Src/SConscript
+++ b/Source/Core/Core/Src/SConscript
@@ -42,7 +42,6 @@ files = ["ActionReplay.cpp",
"HW/EXI_DeviceMemoryCard.cpp",
"HW/EXI_DeviceMic.cpp",
"HW/EXI_DeviceEthernet.cpp",
- "HW/BBA-TAP/TAP_Unix.cpp",
"HW/GPFifo.cpp",
"HW/HW.cpp",
"HW/Memmap.cpp",
@@ -122,7 +121,14 @@ else:
]
if sys.platform == 'win32':
- files += [ "stdafx.cpp" ]
+ files += [ "stdafx.cpp",
+ "HW/BBA-Tap/TAP_Win32.cpp"
+ ]
+else:
+ if sys.platform == 'darwine':
+ files += [ "HW/BBA-Tap/TAP_Apple.cpp"]
+ else:
+ files += [ "HW/BBA-Tap/TAP_Unix.cpp"]
libs = [
'bdisasm',