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:
parent
ac4f993976
commit
6cb0b07621
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user