From 36fa62143628dbeab410fe1e6f1caf6955d0d7a6 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Tue, 9 May 2017 04:55:38 +0200 Subject: [PATCH] lay base for core->platform interaction (immediately planned: threaded 3D renderer, wifi connectivity) --- CMakeLists.txt | 1 + melonDS.cbp | 2 ++ src/Platform.h | 29 +++++++++++++++++++++++++++++ src/wx/Platform.cpp | 30 ++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 src/Platform.h create mode 100644 src/wx/Platform.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 3da4b2d0..27ba1554 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 a1c6edbf..5acfc894 100644 --- a/melonDS.cbp +++ b/melonDS.cbp @@ -196,6 +196,7 @@ + @@ -210,6 +211,7 @@ + diff --git a/src/Platform.h b/src/Platform.h new file mode 100644 index 00000000..9814d148 --- /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 00000000..8bcbb7ed --- /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 +#include "Platform.h" + + +namespace Platform +{ + + +// + + +}