movies - oops, don't load a pre-existing movie of the same path, when starting a new recording, I introduced that problem some commits ago

This commit is contained in:
adelikat 2014-07-13 20:33:20 +00:00
parent 54376a7990
commit 8ab278535e
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ namespace BizHawk.Client.EmuHawk
{
public void StartNewMovie(IMovie movie, bool record)
{
movie.Load();
if (!record) // The semantics of record is that we are starting a new movie, and even wiping a pre-existing movie with the same path, but non-record means we are loading an existing movie into playback mode
{
movie.Load();
}
if (movie.SystemID != Global.Emulator.SystemId)
{
GlobalWin.OSD.AddMessage("Movie does not match the currently loaded system, unable to load");