mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
remove dune2000 presets and enable DDFLIP_WAIT limiter instead
This commit is contained in:
parent
14304ff330
commit
8c119f4e33
@ -290,14 +290,6 @@ static void CreateSettingsIni()
|
|||||||
"[BM]\n"
|
"[BM]\n"
|
||||||
"maxgameticks=60\n"
|
"maxgameticks=60\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Dune 2000\n"
|
|
||||||
"[dune2000]\n"
|
|
||||||
"maxgameticks=60\n"
|
|
||||||
"\n"
|
|
||||||
"; Dune 2000 Online\n"
|
|
||||||
"[dune2000-spawn]\n"
|
|
||||||
"maxgameticks=60\n"
|
|
||||||
"\n"
|
|
||||||
"; Command & Conquer: Tiberian Sun\n"
|
"; Command & Conquer: Tiberian Sun\n"
|
||||||
"[game]\n"
|
"[game]\n"
|
||||||
"noactivateapp=true\n"
|
"noactivateapp=true\n"
|
||||||
|
@ -674,7 +674,6 @@ HRESULT __stdcall ddraw_surface_Flip(IDirectDrawSurfaceImpl *This, LPDIRECTDRAWS
|
|||||||
SwitchToThread();
|
SwitchToThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
if (flags & DDFLIP_WAIT)
|
if (flags & DDFLIP_WAIT)
|
||||||
{
|
{
|
||||||
DWORD tick = This->lastFlipTick;
|
DWORD tick = This->lastFlipTick;
|
||||||
@ -688,7 +687,6 @@ HRESULT __stdcall ddraw_surface_Flip(IDirectDrawSurfaceImpl *This, LPDIRECTDRAWS
|
|||||||
if (sleepTime > 0 && sleepTime <= 17)
|
if (sleepTime > 0 && sleepTime <= 17)
|
||||||
Sleep(sleepTime);
|
Sleep(sleepTime);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if (ddraw->ticklength > 0)
|
if (ddraw->ticklength > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user