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

set maxFPS to 125 by default

This commit is contained in:
FunkyFr3sh 2018-10-25 07:11:36 +02:00
parent 3fa02ac34d
commit bb647d91f6

View File

@ -44,7 +44,7 @@ void Settings_Load()
ddraw->vhack = GetBool("vhack", FALSE);
ddraw->sleep = GetInt("sleep", 0);
ddraw->render.maxfps = GetInt("maxfps", 0);
ddraw->render.maxfps = GetInt("maxfps", 125);
ddraw->render.width = GetInt("width", 0);
ddraw->render.height = GetInt("height", 0);
WindowPosX = GetInt("posX", -32000);
@ -152,7 +152,7 @@ static void CreateSettingsIni()
"; use letter- or windowboxing to make a best fit (Integer Scaling)\n"
"boxing=false\n"
"; real rendering rate, -1 = screen rate, 0 = unlimited, n = cap (OpenGL / Direct3D only)\n"
"maxfps=0\n"
"maxfps=125\n"
"; vertical synchronization, enable if you get tearing (OpenGL / Direct3D only)\n"
"vsync=false\n"
"; automatic mouse sensitivity scaling\n"