summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt
diff options
context:
space:
mode:
authorLectem <lectem@gmail.com>2016-07-30 18:19:00 +0200
committerLectem <lectem@gmail.com>2016-08-02 16:45:15 +0200
commita94fb932ff8a326a2e85ab3814663af565313ec5 (patch)
treea56b18ae8e62bfe3dff6a2948264e1918eafcada /src/core/hle/service/apt
parentInput GUI: Add tab to remap controls (#1900) (diff)
downloadyuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar.gz
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar.bz2
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar.lz
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar.xz
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.tar.zst
yuzu-a94fb932ff8a326a2e85ab3814663af565313ec5.zip
Diffstat (limited to 'src/core/hle/service/apt')
-rw-r--r--src/core/hle/service/apt/apt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index c009e6c98..5af0d49ba 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -53,7 +53,7 @@ void Initialize(Service::Interface* self) {
u32 app_id = cmd_buff[1];
u32 flags = cmd_buff[2];
- cmd_buff[2] = IPC::MoveHandleDesc(2);
+ cmd_buff[2] = IPC::CopyHandleDesc(2);
cmd_buff[3] = Kernel::g_handle_table.Create(notification_event).MoveFrom();
cmd_buff[4] = Kernel::g_handle_table.Create(parameter_event).MoveFrom();
@@ -96,7 +96,7 @@ void GetSharedFont(Service::Interface* self) {
// the real APT service calculates this address by scanning the entire address space (using svcQueryMemory)
// and searches for an allocation of the same size as the Shared Font.
cmd_buff[2] = target_address;
- cmd_buff[3] = IPC::MoveHandleDesc();
+ cmd_buff[3] = IPC::CopyHandleDesc();
cmd_buff[4] = Kernel::g_handle_table.Create(shared_font_mem).MoveFrom();
}