tweak ticks limiter for nancy drew games
This commit is contained in:
parent
99f388407b
commit
edb0f43091
6 changed files with 36 additions and 28 deletions
11
src/dd.c
11
src/dd.c
|
@ -1531,6 +1531,17 @@ HRESULT dd_GetVerticalBlankStatus(LPBOOL lpbIsInVB)
|
|||
return DD_OK;
|
||||
}
|
||||
|
||||
HRESULT dd_TestCooperativeLevel()
|
||||
{
|
||||
if (g_config.limiter_type == LIMIT_TESTCOOP && g_ddraw.ticks_limiter.tick_length > 0)
|
||||
{
|
||||
g_ddraw.ticks_limiter.dds_unlock_limiter_disabled = TRUE;
|
||||
util_limit_game_ticks();
|
||||
}
|
||||
|
||||
return g_config.tlc_hack ? DDERR_NOEXCLUSIVEMODE : DD_OK;
|
||||
}
|
||||
|
||||
HRESULT dd_GetDeviceIdentifier(LPDDDEVICEIDENTIFIER pDDDI, DWORD dwFlags, REFIID riid)
|
||||
{
|
||||
if (!pDDDI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue