mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 04:10:08 +00:00
Kernel/Semaphore: Small style change
This commit is contained in:
parent
effb181888
commit
ea95876431
@ -34,7 +34,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
ResultVal<bool> WaitSynchronization() override {
|
ResultVal<bool> WaitSynchronization() override {
|
||||||
bool wait = available_count == 0;
|
bool wait = !IsAvailable();
|
||||||
|
|
||||||
if (wait) {
|
if (wait) {
|
||||||
Kernel::WaitCurrentThread(WAITTYPE_SEMA, GetHandle());
|
Kernel::WaitCurrentThread(WAITTYPE_SEMA, GetHandle());
|
||||||
|
Loading…
Reference in New Issue
Block a user