From c67b7b74d7d0fa722f613f1b53854ccaacc14a20 Mon Sep 17 00:00:00 2001 From: goyuken Date: Sun, 12 Jan 2014 19:11:11 +0000 Subject: [PATCH] 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. --- BizHawk.Client.EmuHawk/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index a696b0aa78..ce6a81da2a 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -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