aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/srv.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-08-27 09:58:35 -0700
committerGitHub <noreply@github.com>2016-08-27 09:58:35 -0700
commit950f6c0c200fd6a91131f088a68f9605ebd925e8 (patch)
tree8eaaaa71cd6071a7ecea3996b7889292fe230829 /src/core/hle/service/srv.cpp
parentb879d8c31b12662e787f08c8d8ab05115db8cc45 (diff)
parenta94fb932ff8a326a2e85ab3814663af565313ec5 (diff)
Merge pull request #1987 from Lectem/ipcdescriptors
fix #1942 and add a few IPC functions for descriptors
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r--src/core/hle/service/srv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index 8bd36d5ea..3c05f836b 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -57,7 +57,7 @@ static void EnableNotification(Service::Interface* self) {
cmd_buff[0] = IPC::MakeHeader(0x2, 0x1, 0x2); // 0x20042
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
- cmd_buff[2] = IPC::TransferHandleDesc();
+ cmd_buff[2] = IPC::CopyHandleDesc(1);
cmd_buff[3] = Kernel::g_handle_table.Create(event_handle).MoveFrom();
LOG_WARNING(Service_SRV, "(STUBBED) called");
}