diff options
| author | 2021-11-04 16:50:08 -0400 | |
|---|---|---|
| committer | 2021-11-04 16:50:08 -0400 | |
| commit | 21c1316503a33ea7c02a9db573ba34b5eb468b4b (patch) | |
| tree | 0eba632ae7183852fa5184a5c0704d8f64ab573c /src/core | |
| parent | service: aoc: Stub NotifyMountAddOnContent and NotifyMountAddOnContent (diff) | |
| download | yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.gz yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.tar.xz yuzu-21c1316503a33ea7c02a9db573ba34b5eb468b4b.zip | |
service: aoc: Stub NotifyUnmountAddOnContent
Used by Animal Crossing: New Horizons v2.0.0 DLC
Diffstat (limited to 'src/core')
| -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_) | |||
| 125 | {9, nullptr, "GetAddOnContentLostErrorCode"}, | 125 | {9, nullptr, "GetAddOnContentLostErrorCode"}, |
| 126 | {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"}, | 126 | {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"}, |
| 127 | {11, &AOC_U::NotifyMountAddOnContent, "NotifyMountAddOnContent"}, | 127 | {11, &AOC_U::NotifyMountAddOnContent, "NotifyMountAddOnContent"}, |
| 128 | {12, nullptr, "NotifyUnmountAddOnContent"}, | 128 | {12, &AOC_U::NotifyUnmountAddOnContent, "NotifyUnmountAddOnContent"}, |
| 129 | {13, nullptr, "IsAddOnContentMountedForDebug"}, | 129 | {13, nullptr, "IsAddOnContentMountedForDebug"}, |
| 130 | {50, &AOC_U::CheckAddOnContentMountStatus, "CheckAddOnContentMountStatus"}, | 130 | {50, &AOC_U::CheckAddOnContentMountStatus, "CheckAddOnContentMountStatus"}, |
| 131 | {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"}, | 131 | {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"}, |
| @@ -284,6 +284,13 @@ void AOC_U::NotifyMountAddOnContent(Kernel::HLERequestContext& ctx) { | |||
| 284 | rb.Push(ResultSuccess); | 284 | rb.Push(ResultSuccess); |
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | void AOC_U::NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx) { | ||
| 288 | LOG_WARNING(Service_AOC, "(STUBBED) called"); | ||
| 289 | |||
| 290 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 291 | rb.Push(ResultSuccess); | ||
| 292 | } | ||
| 293 | |||
| 287 | void AOC_U::CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx) { | 294 | void AOC_U::CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx) { |
| 288 | LOG_WARNING(Service_AOC, "(STUBBED) called"); | 295 | LOG_WARNING(Service_AOC, "(STUBBED) called"); |
| 289 | 296 | ||
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: | |||
| 30 | void GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx); | 30 | void GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx); |
| 31 | void GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestContext& ctx); | 31 | void GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestContext& ctx); |
| 32 | void NotifyMountAddOnContent(Kernel::HLERequestContext& ctx); | 32 | void NotifyMountAddOnContent(Kernel::HLERequestContext& ctx); |
| 33 | void NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx); | ||
| 33 | void CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx); | 34 | void CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx); |
| 34 | void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx); | 35 | void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx); |
| 35 | void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx); | 36 | void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx); |