mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-30 16:03:05 +00:00
hle: service: am: Stub ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero.
- Used by Monster Hunter Rise demo.
This commit is contained in:
parent
4cd8b2f1f7
commit
f83ef80ebd
|
@ -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 a new issue