diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-26 10:21:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-26 10:21:55 +0200 |
commit | 432fab7c4f7c8664b2f9319fd6ac6cb8960407e4 (patch) | |
tree | e4f41221fcdcea3d1a4c0b227c171fc3dec86f7a /src/core/hle/service/aoc | |
parent | Merge pull request #6528 from ReinUsesLisp/device-memory (diff) | |
parent | hle: service: hwopus: OpenHardwareOpusDecoderEx: Remove unused buffer size. (diff) | |
download | yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar.gz yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar.bz2 yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar.lz yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar.xz yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.tar.zst yuzu-432fab7c4f7c8664b2f9319fd6ac6cb8960407e4.zip |
Diffstat (limited to 'src/core/hle/service/aoc')
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.cpp | 10 | ||||
-rw-r--r-- | src/core/hle/service/aoc/aoc_u.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp index fec704c65..dd945e058 100644 --- a/src/core/hle/service/aoc/aoc_u.cpp +++ b/src/core/hle/service/aoc/aoc_u.cpp @@ -117,7 +117,7 @@ AOC_U::AOC_U(Core::System& system_) {7, &AOC_U::PrepareAddOnContent, "PrepareAddOnContent"}, {8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"}, {9, nullptr, "GetAddOnContentLostErrorCode"}, - {10, nullptr, "GetAddOnContentListChangedEventWithProcessId"}, + {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"}, {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"}, {101, &AOC_U::CreatePermanentEcPurchasedEventManager, "CreatePermanentEcPurchasedEventManager"}, {110, nullptr, "CreateContentsServiceManager"}, @@ -257,6 +257,14 @@ void AOC_U::GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx) { rb.PushCopyObjects(aoc_change_event.GetReadableEvent()); } +void AOC_U::GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_AOC, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2, 1}; + rb.Push(ResultSuccess); + rb.PushCopyObjects(aoc_change_event.GetReadableEvent()); +} + void AOC_U::CreateEcPurchasedEventManager(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 65095baa2..bb6ffb8eb 100644 --- a/src/core/hle/service/aoc/aoc_u.h +++ b/src/core/hle/service/aoc/aoc_u.h @@ -28,6 +28,7 @@ private: void GetAddOnContentBaseId(Kernel::HLERequestContext& ctx); void PrepareAddOnContent(Kernel::HLERequestContext& ctx); void GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx); + void GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestContext& ctx); void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx); void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx); |