mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Update sys_timer.cpp
This commit is contained in:
parent
2c999a550b
commit
ba9f55679d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ u64 lv2_timer::check_unlocked(u64 _now) noexcept
|
|||
// Set next expiration time and check again
|
||||
const u64 expire0 = utils::add_saturate<u64>(next, period);
|
||||
expire.release(expire0);
|
||||
return expire0 - _now;
|
||||
return utils::sub_saturate<u64>(expire0, _now);
|
||||
}
|
||||
|
||||
// Stop after oneshot
|
||||
|
|
Loading…
Add table
Reference in a new issue