Skip to content

Commit

Permalink
Merge branch 'mkxp-z:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Speak2Erase authored Aug 10, 2024
2 parents 21a7c08 + 1462dc9 commit d3b54a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display/graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ DEF_ATTR_RD_SIMPLE(Graphics, FrameRate, int, p->frameRate)
DEF_ATTR_SIMPLE(Graphics, FrameCount, int, p->frameCount)

void Graphics::setFrameRate(int value) {
p->frameRate = clamp(value, 10, 120);
p->frameRate = std::max(value, 1);

if (p->threadData->config.syncToRefreshrate)
return;
Expand Down

0 comments on commit d3b54a3

Please sign in to comment.