beb4f51f5f
- Clear display buffers in DirectDrawBlitter and Direct3DBlitter in exclusive mode, since blits don't necessarily cover the entire buffers. - DirectDrawBlitter: Make sure that a minimum amount of time has passed between calls to WaitForVerticalBlank, since it can return in the same vblank period twice on a fast system. - DirectDrawBlitter: Support vsync for refresh rate ~= 2x frame rate - DirectDrawBlitter: Refactor somewhat and get rid of a couple minor potential bugs. - DirectDrawBlitter: Some tweaks to get updates closer to sync time in certain situations. - DirectDrawBlitter: Some tweaks to better support DO_NOT_WAIT. - DirectDrawBlitter: Make only updating during vblank while page flipping optional. - Direct3DBlitter: Some tweaks to get updates closer to sync time in certain situations. - Filter out very short frame times in frame time estimation. - Don't adjust frame time during turbo, but rather skip BlitterWidget syncs to speed up, which avoids vsync limits without disabling vsync. git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@208 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24