- Changed to reflect real framerate, as it was really
off by 20-30% (on frameskip 0)
This commit is contained in:
parent
29ada541d4
commit
c3443ea1e4
|
@ -382,7 +382,7 @@ DWORD WINAPI run( LPVOID lpParameter)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (framestoskip < 1)
|
if (framestoskip < 1)
|
||||||
framestoskip = frameskiprate + 1;
|
framestoskip += frameskiprate;
|
||||||
}
|
}
|
||||||
|
|
||||||
CWindow_RefreshALL();
|
CWindow_RefreshALL();
|
||||||
|
@ -500,7 +500,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
||||||
if (SPU_ChangeSoundCore(sndcoretype, sndbuffersize) != 0)
|
if (SPU_ChangeSoundCore(sndcoretype, sndbuffersize) != 0)
|
||||||
{
|
{
|
||||||
MessageBox(hwnd,"Unable to initialize DirectSound","Error",MB_OK);
|
MessageBox(hwnd,"Unable to initialize DirectSound","Error",MB_OK);
|
||||||
return messages.wParam;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sndvolume = GetPrivateProfileInt("Sound","Volume",100, IniName);
|
sndvolume = GetPrivateProfileInt("Sound","Volume",100, IniName);
|
||||||
|
|
Loading…
Reference in New Issue