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:
parent
872ece5a69
commit
23cf107020
2
main.c
2
main.c
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user