diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-21 01:00:58 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-21 01:48:57 +0200 |
commit | 609cb04f3fef48d20990d8702ee7eed331190876 (patch) | |
tree | 69aad6491f9a866b799f9cd5c601917b77c16d8e /src/core | |
parent | acc: Simplify WriteBuffer call within LoadImage() (diff) | |
download | yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar.gz yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar.bz2 yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar.lz yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar.xz yuzu-609cb04f3fef48d20990d8702ee7eed331190876.tar.zst yuzu-609cb04f3fef48d20990d8702ee7eed331190876.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/acc/acc.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 274d54653..1502dbf55 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -13,7 +13,7 @@ #include "core/hle/service/acc/acc_su.h" #include "core/hle/service/acc/acc_u0.h" #include "core/hle/service/acc/acc_u1.h" -#include "core/settings.h" +#include "core/hle/service/acc/profile_manager.h" namespace Service::Account { // TODO: RE this structure @@ -202,6 +202,8 @@ Module::Interface::Interface(std::shared_ptr<Module> module, : ServiceFramework(name), module(std::move(module)), profile_manager(std::move(profile_manager)) {} +Module::Interface::~Interface() = default; + void InstallInterfaces(SM::ServiceManager& service_manager) { auto module = std::make_shared<Module>(); auto profile_manager = std::make_shared<ProfileManager>(); diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.h index d7c6d2415..c7ed74351 100644 --- a/src/core/hle/service/acc/acc.h +++ b/src/core/hle/service/acc/acc.h @@ -4,17 +4,19 @@ #pragma once -#include "core/hle/service/acc/profile_manager.h" #include "core/hle/service/service.h" namespace Service::Account { +class ProfileManager; + class Module final { public: class Interface : public ServiceFramework<Interface> { public: explicit Interface(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager, const char* name); + ~Interface() override; void GetUserCount(Kernel::HLERequestContext& ctx); void GetUserExistence(Kernel::HLERequestContext& ctx); |