fix for last commit
This commit is contained in:
parent
ac4f993976
commit
6cb0b07621
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue