Skip to content

Commit

Permalink
Merge pull request Ancurio#204 from Splendide-Imaginarius/mkxp-z-fps
Browse files Browse the repository at this point in the history
Remove framerate restrictions
  • Loading branch information
Splendide-Imaginarius committed Aug 1, 2024
2 parents 03a91cf + 568abc7 commit 1462dc9
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 @@ -1358,7 +1358,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 1462dc9

Please sign in to comment.