diff options
Diffstat (limited to 'src/core/hle/service/lbl')
| -rw-r--r-- | src/core/hle/service/lbl/lbl.cpp | 6 | ||||
| -rw-r--r-- | src/core/hle/service/lbl/lbl.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/lbl/lbl.cpp b/src/core/hle/service/lbl/lbl.cpp index 17350b403..6ad3a2877 100644 --- a/src/core/hle/service/lbl/lbl.cpp +++ b/src/core/hle/service/lbl/lbl.cpp | |||
| @@ -15,7 +15,7 @@ namespace Service::LBL { | |||
| 15 | 15 | ||
| 16 | class LBL final : public ServiceFramework<LBL> { | 16 | class LBL final : public ServiceFramework<LBL> { |
| 17 | public: | 17 | public: |
| 18 | explicit LBL() : ServiceFramework{"lbl"} { | 18 | explicit LBL(Core::System& system_) : ServiceFramework{system_, "lbl"} { |
| 19 | // clang-format off | 19 | // clang-format off |
| 20 | static const FunctionInfo functions[] = { | 20 | static const FunctionInfo functions[] = { |
| 21 | {0, nullptr, "SaveCurrentSetting"}, | 21 | {0, nullptr, "SaveCurrentSetting"}, |
| @@ -84,8 +84,8 @@ private: | |||
| 84 | bool vr_mode_enabled = false; | 84 | bool vr_mode_enabled = false; |
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | void InstallInterfaces(SM::ServiceManager& sm) { | 87 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { |
| 88 | std::make_shared<LBL>()->InstallAsService(sm); | 88 | std::make_shared<LBL>(system)->InstallAsService(sm); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | } // namespace Service::LBL | 91 | } // namespace Service::LBL |
diff --git a/src/core/hle/service/lbl/lbl.h b/src/core/hle/service/lbl/lbl.h index bf6f400f8..9c2021026 100644 --- a/src/core/hle/service/lbl/lbl.h +++ b/src/core/hle/service/lbl/lbl.h | |||
| @@ -4,12 +4,16 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | namespace Core { | ||
| 8 | class System; | ||
| 9 | } | ||
| 10 | |||
| 7 | namespace Service::SM { | 11 | namespace Service::SM { |
| 8 | class ServiceManager; | 12 | class ServiceManager; |
| 9 | } | 13 | } |
| 10 | 14 | ||
| 11 | namespace Service::LBL { | 15 | namespace Service::LBL { |
| 12 | 16 | ||
| 13 | void InstallInterfaces(SM::ServiceManager& sm); | 17 | void InstallInterfaces(SM::ServiceManager& sm, Core::System& system); |
| 14 | 18 | ||
| 15 | } // namespace Service::LBL | 19 | } // namespace Service::LBL |