0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

Kernel/Semaphore: Small style change

This commit is contained in:
Subv 2014-12-13 10:29:11 -05:00
parent effb181888
commit ea95876431

View File

@ -34,7 +34,7 @@ public:
}
ResultVal<bool> WaitSynchronization() override {
bool wait = available_count == 0;
bool wait = !IsAvailable();
if (wait) {
Kernel::WaitCurrentThread(WAITTYPE_SEMA, GetHandle());