aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--melonDS.cbp2
-rw-r--r--src/Platform.h29
-rw-r--r--src/wx/Platform.cpp30
4 files changed, 62 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3da4b2d..27ba155 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,7 @@ SET(SOURCES
src/wx/main.cpp
src/wx/EmuConfig.cpp
src/wx/InputConfig.cpp
+ src/wx/Platform.cpp
src/ARM.cpp
src/ARMInterpreter.cpp
src/ARMInterpreter_ALU.cpp
diff --git a/melonDS.cbp b/melonDS.cbp
index a1c6edb..5acfc89 100644
--- a/melonDS.cbp
+++ b/melonDS.cbp
@@ -196,6 +196,7 @@
<Unit filename="src/NDS.h" />
<Unit filename="src/NDSCart.cpp" />
<Unit filename="src/NDSCart.h" />
+ <Unit filename="src/Platform.h" />
<Unit filename="src/RTC.cpp" />
<Unit filename="src/RTC.h" />
<Unit filename="src/SPI.cpp" />
@@ -210,6 +211,7 @@
<Unit filename="src/wx/EmuConfig.h" />
<Unit filename="src/wx/InputConfig.cpp" />
<Unit filename="src/wx/InputConfig.h" />
+ <Unit filename="src/wx/Platform.cpp" />
<Unit filename="src/wx/main.cpp" />
<Unit filename="src/wx/main.h" />
<Unit filename="src/wx/scancode_wx2sdl.h" />
diff --git a/src/Platform.h b/src/Platform.h
new file mode 100644
index 0000000..9814d14
--- /dev/null
+++ b/src/Platform.h
@@ -0,0 +1,29 @@
+/*
+ Copyright 2016-2017 StapleButter
+
+ This file is part of melonDS.
+
+ melonDS 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, either version 3 of the License, or (at your option)
+ any later version.
+
+ melonDS 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 for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with melonDS. If not, see http://www.gnu.org/licenses/.
+*/
+
+#ifndef PLATFORM_H
+#define PLATFORM_H
+
+namespace Platform
+{
+
+//
+
+}
+
+#endif // PLATFORM_H
diff --git a/src/wx/Platform.cpp b/src/wx/Platform.cpp
new file mode 100644
index 0000000..8bcbb7e
--- /dev/null
+++ b/src/wx/Platform.cpp
@@ -0,0 +1,30 @@
+/*
+ Copyright 2016-2017 StapleButter
+
+ This file is part of melonDS.
+
+ melonDS 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, either version 3 of the License, or (at your option)
+ any later version.
+
+ melonDS 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 for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with melonDS. If not, see http://www.gnu.org/licenses/.
+*/
+
+#include <stdio.h>
+#include "Platform.h"
+
+
+namespace Platform
+{
+
+
+//
+
+
+}