diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-04 21:50:08 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-04 21:50:08 +0100 |
commit | 21c1316503a33ea7c02a9db573ba34b5eb468b4b (patch) | |
tree | 0eba632ae7183852fa5184a5c0704d8f64ab573c | |
parent | service: aoc: Stub NotifyMountAddOnContent and NotifyMountAddOnContent (diff) | |
download | yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.gz yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.bz2 yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.lz yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.xz yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.zst yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.zip |
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.cpp | 9 | ||||
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.h | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp index 84e6d4c1a..43b2e2ee8 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -125,7 +125,7 @@ AOC_U::AOC_U(Core::System& system_) {9, nullptr, "GetAddOnContentLostErrorCode"}, {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"}, {11, &AOC_U::NotifyMountAddOnContent, "NotifyMountAddOnContent"}, - {12, nullptr, "NotifyUnmountAddOnContent"}, + {12, &AOC_U::NotifyUnmountAddOnContent, "NotifyUnmountAddOnContent"}, {13, nullptr, "IsAddOnContentMountedForDebug"}, {50, &AOC_U::CheckAddOnContentMountStatus, "CheckAddOnContentMountStatus"}, {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"}, @@ -284,6 +284,13 @@ void AOC_U::NotifyMountAddOnContent(Kernel::HLERequestContext& ctx) { rb.Push(ResultSuccess); } +void AOC_U::NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_AOC, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSuccess); +} + void AOC_U::CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_AOC, "(STUBBED) called"); diff --git a/src/core/hle/service/aoc/aoc_u.h b/src/core/hle/service/aoc/aoc_u.h index 88ac7b745..4b5f7c5f2 100644 --- a/src/core/hle/service/aoc/aoc_u.h +++ b/src/core/hle/service/aoc/aoc_u.h @@ -30,6 +30,7 @@ private: void GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx); void GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestContext& ctx); void NotifyMountAddOnContent(Kernel::HLERequestContext& ctx); + void NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx); void CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx); void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx); void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx); |