mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-04 07:40:10 +01:00
rsx/overlays: Ellide redundant clock read
This commit is contained in:
parent
4c59359cf7
commit
170fd813f0
|
|
@ -24,7 +24,7 @@ namespace rsx
|
|||
else
|
||||
{
|
||||
const auto now = rsx::uclock();
|
||||
m_current_frame_duration_us += (rsx::uclock() - m_last_update_timestamp_us);
|
||||
m_current_frame_duration_us += (now - m_last_update_timestamp_us);
|
||||
m_last_update_timestamp_us = now;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue