diff options
| author | 2019-09-22 16:37:59 +1000 | |
|---|---|---|
| committer | 2019-09-22 16:37:59 +1000 | |
| commit | 36a97dd8a295d90cf9ec6c186ca7dc74a49d173d (patch) | |
| tree | 010a5bd7a1680ca8b4f55d397bb9e7a2456c2a5e | |
| parent | Deglobalize System: NvFlinger (diff) | |
| download | yuzu-36a97dd8a295d90cf9ec6c186ca7dc74a49d173d.tar.gz yuzu-36a97dd8a295d90cf9ec6c186ca7dc74a49d173d.tar.xz yuzu-36a97dd8a295d90cf9ec6c186ca7dc74a49d173d.zip | |
Rebase
| -rw-r--r-- | src/core/hle/service/prepo/prepo.cpp | 14 | ||||
| -rw-r--r-- | src/core/hle/service/prepo/prepo.h | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp index 0f79135ff..18d895263 100644 --- a/src/core/hle/service/prepo/prepo.cpp +++ b/src/core/hle/service/prepo/prepo.cpp | |||
| @@ -15,7 +15,7 @@ namespace Service::PlayReport { | |||
| 15 | 15 | ||
| 16 | class PlayReport final : public ServiceFramework<PlayReport> { | 16 | class PlayReport final : public ServiceFramework<PlayReport> { |
| 17 | public: | 17 | public: |
| 18 | explicit PlayReport(Core::System& system, const char* name) | 18 | explicit PlayReport(const char* name, Core::System& system) |
| 19 | : ServiceFramework{name}, system(system) { | 19 | : ServiceFramework{name}, system(system) { |
| 20 | // clang-format off | 20 | // clang-format off |
| 21 | static const FunctionInfo functions[] = { | 21 | static const FunctionInfo functions[] = { |
| @@ -128,12 +128,12 @@ private: | |||
| 128 | Core::System& system; | 128 | Core::System& system; |
| 129 | }; | 129 | }; |
| 130 | 130 | ||
| 131 | void InstallInterfaces(Core::System& system) { | 131 | void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) { |
| 132 | std::make_shared<PlayReport>(system, "prepo:a")->InstallAsService(system.ServiceManager()); | 132 | std::make_shared<PlayReport>("prepo:a", system)->InstallAsService(service_manager); |
| 133 | std::make_shared<PlayReport>(system, "prepo:a2")->InstallAsService(system.ServiceManager()); | 133 | std::make_shared<PlayReport>("prepo:a2", system)->InstallAsService(service_manager); |
| 134 | std::make_shared<PlayReport>(system, "prepo:m")->InstallAsService(system.ServiceManager()); | 134 | std::make_shared<PlayReport>("prepo:m", system)->InstallAsService(service_manager); |
| 135 | std::make_shared<PlayReport>(system, "prepo:s")->InstallAsService(system.ServiceManager()); | 135 | std::make_shared<PlayReport>("prepo:s", system)->InstallAsService(service_manager); |
| 136 | std::make_shared<PlayReport>(system, "prepo:u")->InstallAsService(system.ServiceManager()); | 136 | std::make_shared<PlayReport>("prepo:u", system)->InstallAsService(service_manager); |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | } // namespace Service::PlayReport | 139 | } // namespace Service::PlayReport |
diff --git a/src/core/hle/service/prepo/prepo.h b/src/core/hle/service/prepo/prepo.h index 0ebc3a938..a5682ee26 100644 --- a/src/core/hle/service/prepo/prepo.h +++ b/src/core/hle/service/prepo/prepo.h | |||
| @@ -8,8 +8,12 @@ namespace Service::SM { | |||
| 8 | class ServiceManager; | 8 | class ServiceManager; |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | namespace Core { | ||
| 12 | class System; | ||
| 13 | } | ||
| 14 | |||
| 11 | namespace Service::PlayReport { | 15 | namespace Service::PlayReport { |
| 12 | 16 | ||
| 13 | void InstallInterfaces(Core::System& system); | 17 | void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system); |
| 14 | 18 | ||
| 15 | } // namespace Service::PlayReport | 19 | } // namespace Service::PlayReport |