1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix for last commit

This commit is contained in:
FunkyFr3sh 2018-09-15 16:32:36 +02:00
parent ac4f993976
commit 6cb0b07621

View File

@ -162,13 +162,13 @@ static void SetMaxFPS(int baseMaxFPS)
}
}
if (baseMaxFPS < 0)
if (MaxFPS < 0)
MaxFPS = ddraw->mode.dmDisplayFrequency;
if (baseMaxFPS == 0)
if (MaxFPS == 0)
MaxFPS = 125;
if (baseMaxFPS >= 1000)
if (MaxFPS >= 1000)
MaxFPS = 0;
if (MaxFPS > 0)