mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
[orbis-kernel] Fix evf waiting
This commit is contained in:
parent
55dfa5980d
commit
dcf585455d
2 changed files with 21 additions and 9 deletions
|
|
@ -35,6 +35,8 @@ struct EventFlag final {
|
|||
std::uint64_t bitPattern;
|
||||
std::uint8_t waitMode;
|
||||
|
||||
bool operator==(const WaitingThread &) const = default;
|
||||
|
||||
bool test(std::uint64_t value) const {
|
||||
if (waitMode & kEvfWaitModeAnd) {
|
||||
return (value & bitPattern) == bitPattern;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue