mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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;
|
MaxFPS = ddraw->mode.dmDisplayFrequency;
|
||||||
|
|
||||||
if (baseMaxFPS == 0)
|
if (MaxFPS == 0)
|
||||||
MaxFPS = 125;
|
MaxFPS = 125;
|
||||||
|
|
||||||
if (baseMaxFPS >= 1000)
|
if (MaxFPS >= 1000)
|
||||||
MaxFPS = 0;
|
MaxFPS = 0;
|
||||||
|
|
||||||
if (MaxFPS > 0)
|
if (MaxFPS > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user