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

Change default maxfps to 120

This commit is contained in:
Toni Spets 2010-11-09 17:46:30 +02:00
parent 872ece5a69
commit 23cf107020

2
main.c
View File

@ -483,7 +483,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
This->windowed = TRUE;
}
This->render->maxfps = GetPrivateProfileIntA("ddraw", "maxfps", -1, ini_path);
This->render->maxfps = GetPrivateProfileIntA("ddraw", "maxfps", 120, ini_path);
This->render->width = GetPrivateProfileIntA("ddraw", "width", 640, ini_path);
if(This->render->width < 640)
{