summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/service/aoc/aoc_u.cpp26
-rw-r--r--src/core/hle/service/aoc/aoc_u.h3
2 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp
index 9565f76d4..50264f69e 100644
--- a/src/core/hle/service/aoc/aoc_u.cpp
+++ b/src/core/hle/service/aoc/aoc_u.cpp
@@ -123,9 +123,14 @@ AOC_U::AOC_U(Core::System& system_)
123 {8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"}, 123 {8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"},
124 {9, nullptr, "GetAddOnContentLostErrorCode"}, 124 {9, nullptr, "GetAddOnContentLostErrorCode"},
125 {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"}, 125 {10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"},
126 {11, &AOC_U::NotifyMountAddOnContent, "NotifyMountAddOnContent"},
127 {12, &AOC_U::NotifyUnmountAddOnContent, "NotifyUnmountAddOnContent"},
128 {13, nullptr, "IsAddOnContentMountedForDebug"},
129 {50, &AOC_U::CheckAddOnContentMountStatus, "CheckAddOnContentMountStatus"},
126 {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"}, 130 {100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"},
127 {101, &AOC_U::CreatePermanentEcPurchasedEventManager, "CreatePermanentEcPurchasedEventManager"}, 131 {101, &AOC_U::CreatePermanentEcPurchasedEventManager, "CreatePermanentEcPurchasedEventManager"},
128 {110, nullptr, "CreateContentsServiceManager"}, 132 {110, nullptr, "CreateContentsServiceManager"},
133 {200, nullptr, "SetRequiredAddOnContentsOnContentsAvailabilityTransition"},
129 }; 134 };
130 // clang-format on 135 // clang-format on
131 136
@@ -271,6 +276,27 @@ void AOC_U::GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestConte
271 rb.PushCopyObjects(aoc_change_event->GetReadableEvent()); 276 rb.PushCopyObjects(aoc_change_event->GetReadableEvent());
272} 277}
273 278
279void AOC_U::NotifyMountAddOnContent(Kernel::HLERequestContext& ctx) {
280 LOG_WARNING(Service_AOC, "(STUBBED) called");
281
282 IPC::ResponseBuilder rb{ctx, 2};
283 rb.Push(ResultSuccess);
284}
285
286void AOC_U::NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx) {
287 LOG_WARNING(Service_AOC, "(STUBBED) called");
288
289 IPC::ResponseBuilder rb{ctx, 2};
290 rb.Push(ResultSuccess);
291}
292
293void AOC_U::CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx) {
294 LOG_WARNING(Service_AOC, "(STUBBED) called");
295
296 IPC::ResponseBuilder rb{ctx, 2};
297 rb.Push(ResultSuccess);
298}
299
274void AOC_U::CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx) { 300void AOC_U::CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx) {
275 LOG_WARNING(Service_AOC, "(STUBBED) called"); 301 LOG_WARNING(Service_AOC, "(STUBBED) called");
276 302
diff --git a/src/core/hle/service/aoc/aoc_u.h b/src/core/hle/service/aoc/aoc_u.h
index 31d645be8..4b5f7c5f2 100644
--- a/src/core/hle/service/aoc/aoc_u.h
+++ b/src/core/hle/service/aoc/aoc_u.h
@@ -29,6 +29,9 @@ private:
29 void PrepareAddOnContent(Kernel::HLERequestContext& ctx); 29 void PrepareAddOnContent(Kernel::HLERequestContext& ctx);
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);
33 void NotifyUnmountAddOnContent(Kernel::HLERequestContext& ctx);
34 void CheckAddOnContentMountStatus(Kernel::HLERequestContext& ctx);
32 void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx); 35 void CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx);
33 void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx); 36 void CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ctx);
34 37