force stop a\v capture on loading a new rom \ core, to avoid crashes.

This commit is contained in:
goyuken 2012-11-22 02:30:21 +00:00
parent f26c72df86
commit f29a9dbbd8
1 changed files with 1 additions and 0 deletions

View File

@ -2065,6 +2065,7 @@ namespace BizHawk.MultiClient
SaveState("Auto"); SaveState("Auto");
if (Global.Emulator.SaveRamModified) if (Global.Emulator.SaveRamModified)
SaveRam(); SaveRam();
StopAVI();
Global.Emulator.Dispose(); Global.Emulator.Dispose();
Global.Emulator = new NullEmulator(); Global.Emulator = new NullEmulator();
Global.ActiveController = Global.NullControls; Global.ActiveController = Global.NullControls;