summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-21 05:35:12 +0100
committerbunnei <bunneidev@gmail.com>2021-01-21 05:35:12 +0100
commitf83ef80ebd285e5eccfcca2993f3025de4356b9c (patch)
treee79442c57ec0acbf1e04a0a848feec8051227b29
parentMerge pull request #5755 from FearlessTobi/port-5344 (diff)
downloadyuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar.gz
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar.bz2
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar.lz
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar.xz
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.tar.zst
yuzu-f83ef80ebd285e5eccfcca2993f3025de4356b9c.zip
-rw-r--r--src/core/hle/service/am/am.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index c9808060a..1743bcb2b 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -856,7 +856,7 @@ public:
{25, nullptr, "Terminate"},
{30, &ILibraryAppletAccessor::GetResult, "GetResult"},
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
- {60, nullptr, "PresetLibraryAppletGpuTimeSliceZero"},
+ {60, &ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero, "PresetLibraryAppletGpuTimeSliceZero"},
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
{101, &ILibraryAppletAccessor::PopOutData, "PopOutData"},
{102, nullptr, "PushExtraStorage"},
@@ -900,6 +900,13 @@ private:
rb.Push(applet->GetStatus());
}
+ void PresetLibraryAppletGpuTimeSliceZero(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ }
+
void Start(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");