mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 03:07:56 -05:00
UI: Fix frame rate perf stats
Adds in a missing EndGameFrame when nvdrv swaps buffers
This commit is contained in:
@ -69,7 +69,7 @@ PerfStats::Results PerfStats::GetAndResetStats(u64 current_system_time_us) {
|
||||
double PerfStats::GetLastFrameTimeScale() {
|
||||
std::lock_guard<std::mutex> lock(object_mutex);
|
||||
|
||||
constexpr double FRAME_LENGTH = 1.0 / 60; // GPU::SCREEN_REFRESH_RATE;
|
||||
constexpr double FRAME_LENGTH = 1.0 / 60;
|
||||
return duration_cast<DoubleSecs>(previous_frame_length).count() / FRAME_LENGTH;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user