1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-20 09:22:11 +00:00

kern: fix bug in KConditionVariable::SignalImpl

This commit is contained in:
Michael Scire 2021-07-13 01:40:16 -07:00
parent 14d458522d
commit 1be74ea6e2

View file

@ -132,7 +132,7 @@ namespace ams::kern {
can_access = cpu::CanAccessAtomic(address); can_access = cpu::CanAccessAtomic(address);
if (AMS_LIKELY(can_access)) { if (AMS_LIKELY(can_access)) {
UpdateLockAtomic(std::addressof(prev_tag), address, own_tag, ams::svc::HandleWaitMask); can_access = UpdateLockAtomic(std::addressof(prev_tag), address, own_tag, ams::svc::HandleWaitMask);
} }
} }