summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt/apt.cpp
diff options
context:
space:
mode:
authorpippo2931 <pippo2931@yahoo.com>2016-11-24 04:57:56 +0100
committerbunnei <bunneidev@gmail.com>2016-11-24 04:57:56 +0100
commit0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7 (patch)
tree0e5d6d0e0ed2da77b7fd09530ab3a461d984be02 /src/core/hle/service/apt/apt.cpp
parentMerge pull request #2175 from PEmu1/macos (diff)
downloadyuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar.gz
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar.bz2
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar.lz
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar.xz
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.tar.zst
yuzu-0c9c97e5ea40208bcb6991ebec34ccc1d76ad1e7.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/apt/apt.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index c7198293e..31e5e07b2 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -396,6 +396,15 @@ void StartLibraryApplet(Service::Interface* self) {
cmd_buff[1] = applet->Start(parameter).raw;
}
+void CancelLibraryApplet(Service::Interface* self) {
+ u32* cmd_buff = Kernel::GetCommandBuffer();
+ u32 exiting = cmd_buff[1] & 0xFF;
+
+ cmd_buff[1] = 1; // TODO: Find the return code meaning
+
+ LOG_WARNING(Service_APT, "(STUBBED) called exiting=%u", exiting);
+}
+
void SetScreenCapPostPermission(Service::Interface* self) {
u32* cmd_buff = Kernel::GetCommandBuffer();