From b2ee8107d6c6936ca40d540818cfc1508f28a39a Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Wed, 28 Aug 2024 17:54:30 -0300 Subject: [PATCH] move memory_patcher to qt_gui --- CMakeLists.txt | 4 ++-- src/core/module.cpp | 2 +- src/emulator.cpp | 2 +- src/qt_gui/cheats_patches.cpp | 2 +- src/{common => qt_gui}/memory_patcher.cpp | 0 src/{common => qt_gui}/memory_patcher.h | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename src/{common => qt_gui}/memory_patcher.cpp (100%) rename src/{common => qt_gui}/memory_patcher.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55be9a97d..27e3fad7c 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 f9109aced..f48848bbd 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 14bb39061..b12bb8591 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 bda031f05..91616ab9f 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