Skip to content

Commit

Permalink
Move FPS indicator to the window title.
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyoldbob committed Nov 16, 2023
1 parent 9a91362 commit 697e45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nes/rust/src/windows/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ impl TrackedWindow for MainNesWindow {
}
});
});
ui.label(format!("{:.0}/{:.0} FPS", self.emulator_fps, self.fps));
window.set_title(&format!("UglyOldBob NES Emulator - {:.0}/{:.0} FPS", self.emulator_fps, self.fps));
if c.mb
.get_controller_ref(0)
.button_data()
Expand Down

0 comments on commit 697e45d

Please sign in to comment.