put my uneuter my NeedsToPaint flag, and actually fix a busted capture with OSD
This commit is contained in:
parent
e5d5a4ec90
commit
a058fd4ed0
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue