diff --git a/src/xenia/base/threading.h b/src/xenia/base/threading.h index 1be26b373..9e80f29ad 100644 --- a/src/xenia/base/threading.h +++ b/src/xenia/base/threading.h @@ -308,7 +308,7 @@ class Event : public WaitHandle { //SetEvent, but if there is a waiter we immediately transfer execution to it virtual void SetBoostPriority() = 0; #else - void SetBoostPriority() { Set() } + void SetBoostPriority() { Set(); } #endif }; diff --git a/src/xenia/base/threading_posix.cc b/src/xenia/base/threading_posix.cc index 13914bd2a..604e332d5 100644 --- a/src/xenia/base/threading_posix.cc +++ b/src/xenia/base/threading_posix.cc @@ -905,6 +905,11 @@ class PosixEvent : public PosixConditionHandle { ~PosixEvent() override = default; void Set() override { handle_.Signal(); } void Reset() override { handle_.Reset(); } + EventInfo Query() { + EventInfo result{}; + assert_always(); + return result; + } void Pulse() override { using namespace std::chrono_literals; handle_.Signal();