Skip to content

Commit

Permalink
ngp: more accurate refresh rate hint (#1742)
Browse files Browse the repository at this point in the history
In practice that's ~59.95 Hz.
  • Loading branch information
asiekierka authored Jan 2, 2025
1 parent 8642d35 commit c19a2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ares/ngp/kge/kge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ auto KGE::load(Node::Object parent) -> void {
screen->setViewport(0, 0, 160, 152);
screen->setScale(1.0, 1.0);
screen->setAspect(1.0, 1.0);
screen->refreshRateHint(60); // TODO: More accurate refresh rate hint
screen->refreshRateHint(6'144'000, 515, io.vlines + 1);

interframeBlending = screen->append<Node::Setting::Boolean>("Interframe Blending", true, [&](auto value) {
screen->setInterframeBlending(value);
Expand Down

0 comments on commit c19a2ac

Please sign in to comment.