summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/frontend/applets/software_keyboard.cpp1
-rw-r--r--src/core/hle/service/am/am.cpp12
2 files changed, 9 insertions, 4 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp
index 05e2dc6b7..cf5e2ea31 100644
--- a/src/core/frontend/applets/software_keyboard.cpp
+++ b/src/core/frontend/applets/software_keyboard.cpp
@@ -3,6 +3,7 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/logging/backend.h" 5#include "common/logging/backend.h"
6#include "common/string_util.h"
6#include "core/frontend/applets/software_keyboard.h" 7#include "core/frontend/applets/software_keyboard.h"
7 8
8namespace Core::Frontend { 9namespace Core::Frontend {
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index ea00c5c72..3201e2d4b 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -533,7 +533,7 @@ public:
533 // clang-format off 533 // clang-format off
534 static const FunctionInfo functions[] = { 534 static const FunctionInfo functions[] = {
535 {0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"}, 535 {0, &ILibraryAppletAccessor::GetAppletStateChangedEvent, "GetAppletStateChangedEvent"},
536 {1, nullptr, "IsCompleted"}, 536 {1, &ILibraryAppletAccessor::IsCompleted, "IsCompleted"},
537 {10, &ILibraryAppletAccessor::Start, "Start"}, 537 {10, &ILibraryAppletAccessor::Start, "Start"},
538 {20, nullptr, "RequestExit"}, 538 {20, nullptr, "RequestExit"},
539 {25, nullptr, "Terminate"}, 539 {25, nullptr, "Terminate"},
@@ -576,11 +576,15 @@ private:
576 LOG_WARNING(Service_AM, "(STUBBED) called"); 576 LOG_WARNING(Service_AM, "(STUBBED) called");
577 } 577 }
578 578
579 void GetResult(Kernel::HLERequestContext& ctx) { 579 void IsCompleted(Kernel::HLERequestContext& ctx) {
580 IPC::ResponseBuilder rb{ctx, 2}; 580 IPC::ResponseBuilder rb{ctx, 3};
581 rb.Push(RESULT_SUCCESS); 581 rb.Push(RESULT_SUCCESS);
582 rb.Push<u32>(applet->TransactionComplete());
583 }
582 584
583 LOG_WARNING(Service_AM, "(STUBBED) called"); 585 void GetResult(Kernel::HLERequestContext& ctx) {
586 IPC::ResponseBuilder rb{ctx, 2};
587 rb.Push(applet->GetStatus());
584 } 588 }
585 589
586 void Start(Kernel::HLERequestContext& ctx) { 590 void Start(Kernel::HLERequestContext& ctx) {