summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cam
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/cam
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/cam')
-rw-r--r--src/core/hle/service/cam/cam.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/cam/cam.cpp b/src/core/hle/service/cam/cam.cpp
index 9df48a650..6edcf9610 100644
--- a/src/core/hle/service/cam/cam.cpp
+++ b/src/core/hle/service/cam/cam.cpp
@@ -51,7 +51,7 @@ void GetVsyncInterruptEvent(Service::Interface* self) {
cmd_buff[0] = IPC::MakeHeader(0x5, 1, 2);
cmd_buff[1] = RESULT_SUCCESS.raw;
- cmd_buff[2] = IPC::MoveHandleDesc();
+ cmd_buff[2] = IPC::CopyHandleDesc();
cmd_buff[3] = Kernel::g_handle_table.Create(vsync_interrupt_error_event).MoveFrom();
LOG_WARNING(Service_CAM, "(STUBBED) called, port=%d", port);
@@ -64,7 +64,7 @@ void GetBufferErrorInterruptEvent(Service::Interface* self) {
cmd_buff[0] = IPC::MakeHeader(0x6, 1, 2);
cmd_buff[1] = RESULT_SUCCESS.raw;
- cmd_buff[2] = IPC::MoveHandleDesc();
+ cmd_buff[2] = IPC::CopyHandleDesc();
cmd_buff[3] = Kernel::g_handle_table.Create(interrupt_error_event).MoveFrom();
LOG_WARNING(Service_CAM, "(STUBBED) called, port=%d", port);
@@ -85,7 +85,7 @@ void SetReceiving(Service::Interface* self) {
cmd_buff[0] = IPC::MakeHeader(0x7, 1, 2);
cmd_buff[1] = RESULT_SUCCESS.raw;
- cmd_buff[2] = IPC::MoveHandleDesc();
+ cmd_buff[2] = IPC::CopyHandleDesc();
cmd_buff[3] = Kernel::g_handle_table.Create(completion_event).MoveFrom();
LOG_WARNING(Service_CAM, "(STUBBED) called, addr=0x%X, port=%d, image_size=%d, trans_unit=%d",