Resize unattended video if zoom factor >1

This commit is contained in:
Vilsol 2018-06-02 23:18:45 +03:00
parent ccb1dcd7f5
commit db8b051b00
1 changed files with 6 additions and 0 deletions

View File

@ -3160,6 +3160,12 @@ namespace BizHawk.Client.EmuHawk
aw = new AudioStretcher(aw);
}
if (unattended && Global.Config.TargetZoomFactor > 1)
{
_avwriterResizew = Global.Config.TargetZoomFactor * _currentVideoProvider.BufferWidth;
_avwriterResizeh = Global.Config.TargetZoomFactor * _currentVideoProvider.BufferHeight;
}
aw.SetMovieParameters(Emulator.VsyncNumerator(), Emulator.VsyncDenominator());
if (_avwriterResizew > 0 && _avwriterResizeh > 0)
{