diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-26 03:21:45 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-26 17:43:34 +0100 |
commit | c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8 (patch) | |
tree | 59dd326b64c04a24058cdb163da1064c2495bf2c /src/core/hle/service/mii/mii.h | |
parent | Merge pull request #12796 from t895/controller-optimizations (diff) | |
download | yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar.gz yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar.bz2 yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar.lz yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar.xz yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.tar.zst yuzu-c5e88c654ef2d037e07bf1bfce9c108ad3a8dea8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/mii/mii.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/hle/service/mii/mii.h b/src/core/hle/service/mii/mii.h index 9aa4426f6..8683ac1a5 100644 --- a/src/core/hle/service/mii/mii.h +++ b/src/core/hle/service/mii/mii.h @@ -3,7 +3,7 @@ #pragma once -#include "core/hle/service/service.h" +#include "core/hle/service/cmif_types.h" namespace Core { class System; @@ -11,19 +11,20 @@ class System; namespace Service::Mii { class MiiManager; +class IDatabaseService; -class MiiDBModule final : public ServiceFramework<MiiDBModule> { +class IStaticService final : public ServiceFramework<IStaticService> { public: - explicit MiiDBModule(Core::System& system_, const char* name_, - std::shared_ptr<MiiManager> mii_manager, bool is_system_); - ~MiiDBModule() override; + explicit IStaticService(Core::System& system_, const char* name_, + std::shared_ptr<MiiManager> mii_manager, bool is_system_); + ~IStaticService() override; std::shared_ptr<MiiManager> GetMiiManager(); private: - void GetDatabaseService(HLERequestContext& ctx); + Result GetDatabaseService(Out<SharedPointer<IDatabaseService>> out_database_service); - std::shared_ptr<MiiManager> manager = nullptr; + std::shared_ptr<MiiManager> manager{nullptr}; bool is_system{}; }; |