|
|
@ -35,6 +35,7 @@ |
|
|
#include "core/hle/service/apm/controller.h"
|
|
|
#include "core/hle/service/apm/controller.h"
|
|
|
#include "core/hle/service/filesystem/filesystem.h"
|
|
|
#include "core/hle/service/filesystem/filesystem.h"
|
|
|
#include "core/hle/service/glue/manager.h"
|
|
|
#include "core/hle/service/glue/manager.h"
|
|
|
|
|
|
#include "core/hle/service/lm/manager.h"
|
|
|
#include "core/hle/service/service.h"
|
|
|
#include "core/hle/service/service.h"
|
|
|
#include "core/hle/service/sm/sm.h"
|
|
|
#include "core/hle/service/sm/sm.h"
|
|
|
#include "core/loader/loader.h"
|
|
|
#include "core/loader/loader.h"
|
|
|
@ -337,6 +338,7 @@ struct System::Impl { |
|
|
bool is_powered_on = false; |
|
|
bool is_powered_on = false; |
|
|
bool exit_lock = false; |
|
|
bool exit_lock = false; |
|
|
|
|
|
|
|
|
|
|
|
Reporter reporter; |
|
|
std::unique_ptr<Memory::CheatEngine> cheat_engine; |
|
|
std::unique_ptr<Memory::CheatEngine> cheat_engine; |
|
|
std::unique_ptr<Tools::Freezer> memory_freezer; |
|
|
std::unique_ptr<Tools::Freezer> memory_freezer; |
|
|
|
|
|
|
|
|
@ -346,8 +348,9 @@ struct System::Impl { |
|
|
/// APM (Performance) services
|
|
|
/// APM (Performance) services
|
|
|
Service::APM::Controller apm_controller{core_timing}; |
|
|
Service::APM::Controller apm_controller{core_timing}; |
|
|
|
|
|
|
|
|
/// Glue services
|
|
|
|
|
|
|
|
|
/// Service State
|
|
|
Service::Glue::ARPManager arp_manager; |
|
|
Service::Glue::ARPManager arp_manager; |
|
|
|
|
|
Service::LM::Manager lm_manager{reporter}; |
|
|
|
|
|
|
|
|
/// Service manager
|
|
|
/// Service manager
|
|
|
std::shared_ptr<Service::SM::ServiceManager> service_manager; |
|
|
std::shared_ptr<Service::SM::ServiceManager> service_manager; |
|
|
@ -355,8 +358,6 @@ struct System::Impl { |
|
|
/// Telemetry session for this emulation session
|
|
|
/// Telemetry session for this emulation session
|
|
|
std::unique_ptr<Core::TelemetrySession> telemetry_session; |
|
|
std::unique_ptr<Core::TelemetrySession> telemetry_session; |
|
|
|
|
|
|
|
|
Reporter reporter; |
|
|
|
|
|
|
|
|
|
|
|
ResultStatus status = ResultStatus::Success; |
|
|
ResultStatus status = ResultStatus::Success; |
|
|
std::string status_details = ""; |
|
|
std::string status_details = ""; |
|
|
|
|
|
|
|
|
@ -632,6 +633,14 @@ const Service::APM::Controller& System::GetAPMController() const { |
|
|
return impl->apm_controller; |
|
|
return impl->apm_controller; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Service::LM::Manager& System::GetLogManager() { |
|
|
|
|
|
return impl->lm_manager; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const Service::LM::Manager& System::GetLogManager() const { |
|
|
|
|
|
return impl->lm_manager; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
void System::SetExitLock(bool locked) { |
|
|
void System::SetExitLock(bool locked) { |
|
|
impl->exit_lock = locked; |
|
|
impl->exit_lock = locked; |
|
|
} |
|
|
} |
|
|
|