put my uneuter my NeedsToPaint flag, and actually fix a busted capture with OSD

This commit is contained in:
adelikat 2013-11-23 00:51:31 +00:00
parent e5d5a4ec90
commit a058fd4ed0
2 changed files with 3 additions and 1 deletions

View File

@ -649,7 +649,7 @@ namespace BizHawk.Client.EmuHawk
readonly SwappableDisplaySurfaceSet sourceSurfaceSet = new SwappableDisplaySurfaceSet();
public bool NeedsToPaint { get { return true; } set { } }
public bool NeedsToPaint { get; set; }
DisplaySurface luaEmuSurface = null;
public void PreFrameUpdateLuaSource()

View File

@ -2906,6 +2906,7 @@ namespace BizHawk.Client.EmuHawk
private void AVIFrameAdvance()
{
GlobalWin.DisplayManager.NeedsToPaint = true;
if (CurrAviWriter != null)
{
long nsampnum = 44100 * (long)Global.Emulator.CoreComm.VsyncDen + SoundRemainder;
@ -2970,6 +2971,7 @@ namespace BizHawk.Client.EmuHawk
}
}
}
GlobalWin.DisplayManager.NeedsToPaint = true;
}
}