aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-04-27 20:59:11 +0200
committerArisotura <thetotalworm@gmail.com>2020-04-27 20:59:11 +0200
commitd6efb03248e3c7751b0c7e5d3b6398ea671325b0 (patch)
tree490ce602220ad0176230cd24188c02ef86ffe8ec /src
parentd9c55a4f1f269de2fd17fe214403f13a9cf6f341 (diff)
HARK HARK HARK
Diffstat (limited to 'src')
-rw-r--r--src/frontend/FrontendUtil.h31
-rw-r--r--src/frontend/Util_ROM.cpp17
-rw-r--r--src/frontend/qt_sdl/CMakeLists.txt4
3 files changed, 52 insertions, 0 deletions
diff --git a/src/frontend/FrontendUtil.h b/src/frontend/FrontendUtil.h
new file mode 100644
index 0000000..6a199b7
--- /dev/null
+++ b/src/frontend/FrontendUtil.h
@@ -0,0 +1,31 @@
+/*
+ Copyright 2016-2020 Arisotura
+
+ 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 FRONTENDUTIL_H
+#define FRONTENDUTIL_H
+
+#include "types.h"
+
+namespace FrontendUtil
+{
+
+//
+
+}
+
+#endif // FRONTENDUTIL_H
diff --git a/src/frontend/Util_ROM.cpp b/src/frontend/Util_ROM.cpp
new file mode 100644
index 0000000..b3077f7
--- /dev/null
+++ b/src/frontend/Util_ROM.cpp
@@ -0,0 +1,17 @@
+/*
+ Copyright 2016-2020 Arisotura
+
+ 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/.
+*/
diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt
index baa4be2..fb9f547 100644
--- a/src/frontend/qt_sdl/CMakeLists.txt
+++ b/src/frontend/qt_sdl/CMakeLists.txt
@@ -4,6 +4,9 @@ SET(SOURCES_QT_SDL
main.cpp
Platform.cpp
PlatformConfig.cpp
+
+ ../Util_ROM.cpp
+ ../FrontendUtil.h
)
if (WIN32)
@@ -21,6 +24,7 @@ pkg_check_modules(SDL2 REQUIRED sdl2)
add_executable(melonDS ${SOURCES_QT_SDL})
target_include_directories(melonDS PRIVATE ${SDL2_INCLUDE_DIRS})
+target_include_directories(melonDS PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
target_include_directories(melonDS PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../..")
target_link_libraries(melonDS core ${SDL2_LIBRARIES})