mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-29 19:44:49 +02:00
Merge pull request #204 from Splendide-Imaginarius/mkxp-z-fps
Remove framerate restrictions
This commit is contained in:
commit
1462dc9623
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue