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:
parent
54376a7990
commit
8ab278535e
|
@ -11,8 +11,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
partial class MainForm
|
partial class MainForm
|
||||||
{
|
{
|
||||||
public void StartNewMovie(IMovie movie, bool record)
|
public void StartNewMovie(IMovie movie, bool record)
|
||||||
|
{
|
||||||
|
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();
|
movie.Load();
|
||||||
|
}
|
||||||
|
|
||||||
if (movie.SystemID != Global.Emulator.SystemId)
|
if (movie.SystemID != Global.Emulator.SystemId)
|
||||||
{
|
{
|
||||||
GlobalWin.OSD.AddMessage("Movie does not match the currently loaded system, unable to load");
|
GlobalWin.OSD.AddMessage("Movie does not match the currently loaded system, unable to load");
|
||||||
|
|
Loading…
Reference in New Issue