aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/srv.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-02 20:38:34 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-02 20:38:34 -0400
commitb78aff85857a3a356fdf11e1dbc4e5f52490676e (patch)
tree0cb0b9855ae2eed179fb1401e3edbcbd7d59f6f3 /src/core/hle/service/srv.cpp
parent8c0f02a70cfb3eb9a7a334f3f93345bc64e383b6 (diff)
svc: added optional name field to Event and Mutex (used for debugging)
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 f1940e6f..07e2009a 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -17,7 +17,7 @@ Handle g_mutex = 0;
void Initialize(Service::Interface* self) {
DEBUG_LOG(OSHLE, "called");
if (!g_mutex) {
- g_mutex = Kernel::CreateMutex(false);
+ g_mutex = Kernel::CreateMutex(true, "SRV:Lock");
}
}