diff options
author | Subv <subv2112@gmail.com> | 2018-01-08 20:14:30 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-09 03:12:54 +0100 |
commit | db3a5251664ae77f5e67dba571a11d208e448a86 (patch) | |
tree | f53b53b9620ca36a5b8085e3e9d2b603477142fc /src/core/hle/kernel/svc.cpp | |
parent | Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking. (diff) | |
download | yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.gz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.bz2 yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.lz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.xz yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.tar.zst yuzu-db3a5251664ae77f5e67dba571a11d208e448a86.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index a3ac3d782..d18d7a182 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -501,7 +501,7 @@ static ResultCode WaitProcessWideKeyAtomic(VAddr mutex_addr, VAddr semaphore_add semaphore->name = Common::StringFromFormat("semaphore-%llx", semaphore_addr); } - ASSERT(semaphore->available_count == 0); + ASSERT(semaphore->GetAvailableCount() == 0); ASSERT(semaphore->mutex_addr == mutex_addr); auto wakeup_callback = [mutex, nano_seconds](ThreadWakeupReason reason, |