forked from ShuriZma/suyu
Merge pull request #5806 from bunnei/am-stub
hle: service: am: Stub ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero.
This commit is contained in:
commit
f7ac4e1eb4
|
@ -856,7 +856,7 @@ public:
|
||||||
{25, nullptr, "Terminate"},
|
{25, nullptr, "Terminate"},
|
||||||
{30, &ILibraryAppletAccessor::GetResult, "GetResult"},
|
{30, &ILibraryAppletAccessor::GetResult, "GetResult"},
|
||||||
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
|
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
|
||||||
{60, nullptr, "PresetLibraryAppletGpuTimeSliceZero"},
|
{60, &ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero, "PresetLibraryAppletGpuTimeSliceZero"},
|
||||||
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
|
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
|
||||||
{101, &ILibraryAppletAccessor::PopOutData, "PopOutData"},
|
{101, &ILibraryAppletAccessor::PopOutData, "PopOutData"},
|
||||||
{102, nullptr, "PushExtraStorage"},
|
{102, nullptr, "PushExtraStorage"},
|
||||||
|
@ -900,6 +900,13 @@ private:
|
||||||
rb.Push(applet->GetStatus());
|
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) {
|
void Start(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_DEBUG(Service_AM, "called");
|
LOG_DEBUG(Service_AM, "called");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue