diff options
| author | 2014-06-02 20:38:34 -0400 | |
|---|---|---|
| committer | 2014-06-02 20:38:34 -0400 | |
| commit | b78aff85857a3a356fdf11e1dbc4e5f52490676e (patch) | |
| tree | 0cb0b9855ae2eed179fb1401e3edbcbd7d59f6f3 /src/core/hle/service/srv.cpp | |
| parent | kernel: moved position of * for GetTypeName and GetName (diff) | |
| download | yuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.tar.gz yuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.tar.xz yuzu-b78aff85857a3a356fdf11e1dbc4e5f52490676e.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp index f1940e6f5..07e2009a0 100644 --- a/src/core/hle/service/srv.cpp +++ b/src/core/hle/service/srv.cpp | |||
| @@ -17,7 +17,7 @@ Handle g_mutex = 0; | |||
| 17 | void Initialize(Service::Interface* self) { | 17 | void Initialize(Service::Interface* self) { |
| 18 | DEBUG_LOG(OSHLE, "called"); | 18 | DEBUG_LOG(OSHLE, "called"); |
| 19 | if (!g_mutex) { | 19 | if (!g_mutex) { |
| 20 | g_mutex = Kernel::CreateMutex(false); | 20 | g_mutex = Kernel::CreateMutex(true, "SRV:Lock"); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||