diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-24 23:31:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 23:31:58 +0100 |
commit | 7791cc8c2e585dcc377e22a26f548db914250a5d (patch) | |
tree | 81273d60fee9da0146317881711b6f0b43650355 /src/core/hle/service/am/applet_oe.cpp | |
parent | Merge pull request #3681 from lioncash/component (diff) | |
download | yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar.gz yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar.bz2 yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar.lz yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar.xz yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.tar.zst yuzu-7791cc8c2e585dcc377e22a26f548db914250a5d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index a2ffaa440..7bed86ec4 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp @@ -12,9 +12,9 @@ namespace Service::AM { class IApplicationProxy final : public ServiceFramework<IApplicationProxy> { public: - explicit IApplicationProxy(std::shared_ptr<NVFlinger::NVFlinger> nvflinger, + explicit IApplicationProxy(NVFlinger::NVFlinger& nvflinger, std::shared_ptr<AppletMessageQueue> msg_queue, Core::System& system) - : ServiceFramework("IApplicationProxy"), nvflinger(std::move(nvflinger)), + : ServiceFramework("IApplicationProxy"), nvflinger(nvflinger), msg_queue(std::move(msg_queue)), system(system) { // clang-format off static const FunctionInfo functions[] = { @@ -98,7 +98,7 @@ private: rb.PushIpcInterface<IApplicationFunctions>(system); } - std::shared_ptr<NVFlinger::NVFlinger> nvflinger; + NVFlinger::NVFlinger& nvflinger; std::shared_ptr<AppletMessageQueue> msg_queue; Core::System& system; }; @@ -111,10 +111,10 @@ void AppletOE::OpenApplicationProxy(Kernel::HLERequestContext& ctx) { rb.PushIpcInterface<IApplicationProxy>(nvflinger, msg_queue, system); } -AppletOE::AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger, - std::shared_ptr<AppletMessageQueue> msg_queue, Core::System& system) - : ServiceFramework("appletOE"), nvflinger(std::move(nvflinger)), - msg_queue(std::move(msg_queue)), system(system) { +AppletOE::AppletOE(NVFlinger::NVFlinger& nvflinger, std::shared_ptr<AppletMessageQueue> msg_queue, + Core::System& system) + : ServiceFramework("appletOE"), nvflinger(nvflinger), msg_queue(std::move(msg_queue)), + system(system) { static const FunctionInfo functions[] = { {0, &AppletOE::OpenApplicationProxy, "OpenApplicationProxy"}, }; |