is this why people write closed source code? so embarrassing stupid mistakes that last for thousands of revisions are never known to the world? oh well.

This commit is contained in:
goyuken 2014-01-12 19:11:11 +00:00
parent 324f3c77a9
commit c67b7b74d7
1 changed files with 1 additions and 1 deletions

View File

@ -2846,7 +2846,7 @@ namespace BizHawk.Client.EmuHawk
GlobalWin.DisplayManager.NeedsToPaint = true;
if (_currAviWriter != null)
{
var nsampnum = 44100 * (Global.Emulator.CoreComm.VsyncDen + _soundRemainder);
var nsampnum = 44100 * (long)Global.Emulator.CoreComm.VsyncDen + _soundRemainder;
var nsamp = nsampnum / Global.Emulator.CoreComm.VsyncNum;
// exactly remember fractional parts of an audio sample