Browse Source

Kernel/Semaphore: Small style change

pull/15/merge
Subv 11 years ago
parent
commit
ea95876431
  1. 2
      src/core/hle/kernel/semaphore.cpp

2
src/core/hle/kernel/semaphore.cpp

@ -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…
Cancel
Save