mirror of
https://github.com/PabloMK7/citra.git
synced 2025-08-05 11:16:50 +00:00
svc: added optional name field to Event and Mutex (used for debugging)
This commit is contained in:
parent
8c0f02a70c
commit
b78aff8585
6 changed files with 25 additions and 12 deletions
src/core/hle/service
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue