mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
Fix screen flickering with frameskip on D3D plugin, also fix occasional hang when turning frameskip off
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4194 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
08d3dee74c
commit
5a21d72693
13 changed files with 88 additions and 91 deletions
|
@ -38,6 +38,7 @@
|
|||
#include "EmuWindow.h"
|
||||
#include "AVIDump.h"
|
||||
#include "OnScreenDisplay.h"
|
||||
#include "Fifo.h"
|
||||
|
||||
#include "debugger/debugger.h"
|
||||
|
||||
|
@ -149,6 +150,9 @@ void formatBufferDump(const char *in, char *out, int w, int h, int p)
|
|||
|
||||
void Renderer::SwapBuffers()
|
||||
{
|
||||
if (g_bSkipCurrentFrame)
|
||||
return;
|
||||
|
||||
// Center window again.
|
||||
if (EmuWindow::GetParentWnd())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue