mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 12:09:58 +00:00
am: Stub out ILibraryAppletAccessor Start and GetResult methods.
This commit is contained in:
parent
049ce242a4
commit
51d8a2c322
1 changed files with 16 additions and 2 deletions
|
@ -436,10 +436,10 @@ public:
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"},
|
{0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"},
|
||||||
{1, nullptr, "IsCompleted"},
|
{1, nullptr, "IsCompleted"},
|
||||||
{10, nullptr, "Start"},
|
{10, &ILibraryAppletAccessor::Start, "Start"},
|
||||||
{20, nullptr, "RequestExit"},
|
{20, nullptr, "RequestExit"},
|
||||||
{25, nullptr, "Terminate"},
|
{25, nullptr, "Terminate"},
|
||||||
{30, nullptr, "GetResult"},
|
{30, &ILibraryAppletAccessor::GetResult, "GetResult"},
|
||||||
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
|
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
|
||||||
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
|
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
|
||||||
{101, nullptr, "PopOutData"},
|
{101, nullptr, "PopOutData"},
|
||||||
|
@ -470,6 +470,20 @@ private:
|
||||||
NGLOG_WARNING(Service_AM, "(STUBBED) called");
|
NGLOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GetResult(Kernel::HLERequestContext& ctx) {
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
||||||
|
NGLOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
|
void Start(Kernel::HLERequestContext& ctx) {
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
||||||
|
NGLOG_WARNING(Service_AM, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
void PushInData(Kernel::HLERequestContext& ctx) {
|
void PushInData(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
storage_stack.push(rp.PopIpcInterface<AM::IStorage>());
|
storage_stack.push(rp.PopIpcInterface<AM::IStorage>());
|
||||||
|
|
Loading…
Reference in a new issue