summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-04 05:37:17 +0200
committerbunnei <bunneidev@gmail.com>2018-06-04 05:44:22 +0200
commit51d8a2c322357d97a66fd07d3a6007bbb15e4ff4 (patch)
treeac628acf976b314119f52cb834314ffcc03be196
parentMerge pull request #499 from bunnei/am-stuff (diff)
downloadyuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar.gz
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar.bz2
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar.lz
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar.xz
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.tar.zst
yuzu-51d8a2c322357d97a66fd07d3a6007bbb15e4ff4.zip
-rw-r--r--src/core/hle/service/am/am.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 40922ec3a..a7c9701c8 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -436,10 +436,10 @@ public:
static const FunctionInfo functions[] = {
{0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"},
{1, nullptr, "IsCompleted"},
- {10, nullptr, "Start"},
+ {10, &ILibraryAppletAccessor::Start, "Start"},
{20, nullptr, "RequestExit"},
{25, nullptr, "Terminate"},
- {30, nullptr, "GetResult"},
+ {30, &ILibraryAppletAccessor::GetResult, "GetResult"},
{50, nullptr, "SetOutOfFocusApplicationSuspendingEnabled"},
{100, &ILibraryAppletAccessor::PushInData, "PushInData"},
{101, nullptr, "PopOutData"},
@@ -470,6 +470,20 @@ private:
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) {
IPC::RequestParser rp{ctx};
storage_stack.push(rp.PopIpcInterface<AM::IStorage>());