summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt1
-rw-r--r--src/core/memory_hook.cpp11
-rw-r--r--src/core/memory_hook.h2
3 files changed, 13 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 45dbd6796..a41e22f4a 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -253,6 +253,7 @@ add_library(core STATIC
253 loader/nso.h 253 loader/nso.h
254 memory.cpp 254 memory.cpp
255 memory.h 255 memory.h
256 memory_hook.cpp
256 memory_hook.h 257 memory_hook.h
257 memory_setup.h 258 memory_setup.h
258 perf_stats.cpp 259 perf_stats.cpp
diff --git a/src/core/memory_hook.cpp b/src/core/memory_hook.cpp
new file mode 100644
index 000000000..c61c6c1fb
--- /dev/null
+++ b/src/core/memory_hook.cpp
@@ -0,0 +1,11 @@
1// Copyright 2018 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#include "core/memory_hook.h"
6
7namespace Memory {
8
9MemoryHook::~MemoryHook() = default;
10
11} // namespace Memory
diff --git a/src/core/memory_hook.h b/src/core/memory_hook.h
index feebd850a..e8ea19333 100644
--- a/src/core/memory_hook.h
+++ b/src/core/memory_hook.h
@@ -23,7 +23,7 @@ namespace Memory {
23 */ 23 */
24class MemoryHook { 24class MemoryHook {
25public: 25public:
26 virtual ~MemoryHook() = default; 26 virtual ~MemoryHook();
27 27
28 virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0; 28 virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0;
29 29