mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 22:27:57 -05:00
Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.
This commit is contained in:
@ -29,12 +29,12 @@ public:
|
||||
u64 initial_delay; ///< The delay until the timer fires for the first time
|
||||
u64 interval_delay; ///< The delay until the timer fires after the first time
|
||||
|
||||
ResultVal<bool> ShouldWait() override {
|
||||
return MakeResult<bool>(!signaled);
|
||||
bool ShouldWait() override {
|
||||
return !signaled;
|
||||
}
|
||||
|
||||
ResultVal<bool> Acquire() override {
|
||||
return MakeResult<bool>(true);
|
||||
void Acquire() override {
|
||||
_assert_msg_(Kernel, !ShouldWait(), "object unavailable!");
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user