summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-24 08:37:05 +0100
committerGitHub <noreply@github.com>2021-01-24 08:37:05 +0100
commitf7ac4e1eb40b71422ed838aa6d8bc03b34833601 (patch)
treec069ea299d87f67f7b861dd5f184ebc40a48d5c9 /src
parentshader_ir: Fix comment typo (diff)
parenthle: service: am: Stub ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero. (diff)
downloadyuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar.gz
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar.bz2
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar.lz
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar.xz
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.tar.zst
yuzu-f7ac4e1eb40b71422ed838aa6d8bc03b34833601.zip
Diffstat (limited to '')
-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");