memory: Add class to manage and enforce memory freezing

This commit is contained in:
Zach Hilman 2019-05-30 08:52:20 -04:00
parent 80a8456af8
commit 1b7d619914
4 changed files with 248 additions and 0 deletions

View file

@ -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;