mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 04:40:05 +00:00
Add Artic Base support
This commit is contained in:
parent
b5126f979c
commit
78c48a46e0
77 changed files with 5467 additions and 501 deletions
|
@ -101,6 +101,8 @@ PerfStats::Results PerfStats::GetAndResetStats(microseconds current_system_time_
|
|||
last_stats.frametime = duration_cast<DoubleSecs>(accumulated_frametime).count() /
|
||||
static_cast<double>(system_frames);
|
||||
last_stats.emulation_speed = system_us_per_second.count() / 1'000'000.0;
|
||||
last_stats.artic_transmitted = static_cast<double>(artic_transmitted) / interval;
|
||||
last_stats.artic_events.raw = artic_events.raw | prev_artic_event.raw;
|
||||
|
||||
// Reset counters
|
||||
reset_point = now;
|
||||
|
@ -108,6 +110,8 @@ PerfStats::Results PerfStats::GetAndResetStats(microseconds current_system_time_
|
|||
accumulated_frametime = Clock::duration::zero();
|
||||
system_frames = 0;
|
||||
game_frames = 0;
|
||||
artic_transmitted = 0;
|
||||
prev_artic_event.raw &= artic_events.raw;
|
||||
|
||||
return last_stats;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue