mirror of
https://github.com/nestriness/nestri.git
synced 2026-10-01 23:22:24 +03:00
feat: nescapture capture improvements and drive mounts (#337)
Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
DatCaptainHorse
Claude Opus 5
parent
ebc0242b49
commit
6811c93d51
@@ -109,6 +109,11 @@ impl CompositorHandler for NescopeState {
|
||||
.cloned()
|
||||
{
|
||||
window.on_commit();
|
||||
// A game frame, which is what the stats claim to report. Counted
|
||||
// here rather than on the frame-callback tick: that tick fires
|
||||
// whether anything was drawn or not, so counting it reported the
|
||||
// compositor's own cadence back as the game's rate.
|
||||
self.game_frame_count += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user