diff --git a/CMakeLists.txt b/CMakeLists.txt index 55be9a97..27e3fad7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,8 +310,8 @@ set(COMMON src/common/logging/backend.cpp src/common/enum.h src/common/io_file.cpp src/common/io_file.h - src/common/memory_patcher.cpp - src/common/memory_patcher.h + src/qt_gui/memory_patcher.cpp + src/qt_gui/memory_patcher.h src/common/error.cpp src/common/error.h src/common/scope_exit.h diff --git a/src/core/module.cpp b/src/core/module.cpp index f9109ace..f48848bb 100644 --- a/src/core/module.cpp +++ b/src/core/module.cpp @@ -6,7 +6,7 @@ #include "common/assert.h" #include "common/logging/log.h" #ifdef ENABLE_QT_GUI -#include "common/memory_patcher.h" +#include "qt_gui/memory_patcher.h" #endif #include "common/string_util.h" #include "core/aerolib/aerolib.h" diff --git a/src/emulator.cpp b/src/emulator.cpp index 14bb3906..b12bb859 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -8,7 +8,7 @@ #include "common/logging/backend.h" #include "common/logging/log.h" #ifdef ENABLE_QT_GUI -#include "common/memory_patcher.h" +#include "qt_gui/memory_patcher.h" #endif #include "common/ntapi.h" #include "common/path_util.h" diff --git a/src/qt_gui/cheats_patches.cpp b/src/qt_gui/cheats_patches.cpp index bda031f0..91616ab9 100644 --- a/src/qt_gui/cheats_patches.cpp +++ b/src/qt_gui/cheats_patches.cpp @@ -28,7 +28,7 @@ #include #include #include "cheats_patches.h" -#include "common/memory_patcher.h" +#include "qt_gui/memory_patcher.h" #include "common/path_util.h" #include "core/module.h" diff --git a/src/common/memory_patcher.cpp b/src/qt_gui/memory_patcher.cpp similarity index 100% rename from src/common/memory_patcher.cpp rename to src/qt_gui/memory_patcher.cpp diff --git a/src/common/memory_patcher.h b/src/qt_gui/memory_patcher.h similarity index 100% rename from src/common/memory_patcher.h rename to src/qt_gui/memory_patcher.h