aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-30 08:52:20 -0400
committerZach Hilman <zachhilman@gmail.com>2019-06-20 19:22:04 -0400
commit1b7d619914c8d132dbffb8b6a5bb3a1aab686f9d (patch)
tree2ced924df90e1a8c0cbd41ef251733a84b48301e /src/core/core.cpp
parent80a8456af85950fb187ae77fb203019044adc8c7 (diff)
memory: Add class to manage and enforce memory freezing
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index ff07210792..94ebe09954 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -28,6 +28,7 @@
#include "core/hle/service/service.h"
#include "core/hle/service/sm/sm.h"
#include "core/loader/loader.h"
+#include "core/memory/freezer.h"
#include "core/perf_stats.h"
#include "core/settings.h"
#include "core/telemetry_session.h"
@@ -243,6 +244,7 @@ struct System::Impl {
bool is_powered_on = false;
std::unique_ptr<FileSys::CheatEngine> cheat_engine;
+ std::unique_ptr<Memory::Freezer> memory_freezer;
/// Frontend applets
Service::AM::Applets::AppletManager applet_manager;