mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
rsx/overlays: Ellide redundant clock read
This commit is contained in:
parent
4c59359cf7
commit
170fd813f0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace rsx
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const auto now = rsx::uclock();
|
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;
|
m_last_update_timestamp_us = now;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue