summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2021-11-05 00:26:10 +0100
committerGitHub <noreply@github.com>2021-11-05 00:26:10 +0100
commit3ceefc64f10c89bff7b2a5b20d3bb4818572073f (patch)
treea5eca3e1a27e01eafb9dcbb7ee9210edead1f8d4 /src/core/hle
parentMerge pull request #7282 from ameerj/core-includes (diff)
parentservice: aoc: Stub NotifyUnmountAddOnContent (diff)
downloadyuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar.gz
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar.bz2
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar.lz
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar.xz
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.tar.zst
yuzu-3ceefc64f10c89bff7b2a5b20d3bb4818572073f.zip
Diffstat (limited to 'src/core/hle')
-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_)
{8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"},
{9, nullptr, "GetAddOnContentLostErrorCode"},
{10, &AOC_U::GetAddOnContentListChangedEventWithProcessId, "GetAddOnContentListChangedEventWithProcessId"},
+ {11, &AOC_U::NotifyMountAddOnContent, "NotifyMountAddOnContent"},
+ {12, &AOC_U::NotifyUnmountAddOnContent, "NotifyUnmountAddOnContent"},
+ {13, nullptr, "IsAddOnContentMountedForDebug"},
+ {50, &AOC_U::CheckAddOnContentMountStatus, "CheckAddOnContentMountStatus"},
{100, &AOC_U::CreateEcPurchasedEventManager, "CreateEcPurchasedEventManager"},
{101, &AOC_U::CreatePermanentEcPurchasedEventManager, "CreatePermanentEcPurchasedEventManager"},
{110, nullptr, "CreateContentsServiceManager"},
+ {200, nullptr, "SetRequiredAddOnContentsOnContentsAvailabilityTransition"},
};
// clang-format on
@@ -271,6 +276,27 @@ void AOC_U::GetAddOnContentListChangedEventWithProcessId(Kernel::HLERequestConte
rb.PushCopyObjects(aoc_change_event->GetReadableEvent());
}
+void AOC_U::NotifyMountAddOnContent(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_AOC, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ 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");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
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 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:
void PrepareAddOnContent(Kernel::HLERequestContext& ctx);
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);