summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/olsc/olsc.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-11-27 06:41:56 +0100
committerGitHub <noreply@github.com>2020-11-27 06:41:56 +0100
commitee5e77fbf97da699e5ded623c12cad56dd7ce0da (patch)
tree66940e6456e66688af258d1e56d846eedd82d5b6 /src/core/hle/service/olsc/olsc.cpp
parentMerge pull request #5016 from comex/xx-push (diff)
parentservice: Eliminate usages of the global system instance (diff)
downloadyuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar.gz
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar.bz2
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar.lz
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar.xz
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.tar.zst
yuzu-ee5e77fbf97da699e5ded623c12cad56dd7ce0da.zip
Diffstat (limited to 'src/core/hle/service/olsc/olsc.cpp')
-rw-r--r--src/core/hle/service/olsc/olsc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/olsc/olsc.cpp b/src/core/hle/service/olsc/olsc.cpp
index aad4ca706..4440135ed 100644
--- a/src/core/hle/service/olsc/olsc.cpp
+++ b/src/core/hle/service/olsc/olsc.cpp
@@ -12,7 +12,7 @@ namespace Service::OLSC {
class OLSC final : public ServiceFramework<OLSC> {
public:
- explicit OLSC() : ServiceFramework{"olsc:u"} {
+ explicit OLSC(Core::System& system_) : ServiceFramework{system_, "olsc:u"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &OLSC::Initialize, "Initialize"},
@@ -62,8 +62,8 @@ private:
bool initialized{};
};
-void InstallInterfaces(SM::ServiceManager& service_manager) {
- std::make_shared<OLSC>()->InstallAsService(service_manager);
+void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system) {
+ std::make_shared<OLSC>(system)->InstallAsService(service_manager);
}
} // namespace Service::OLSC