From 261ae5e323a318839277e942c0e048032ad99d82 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 21 Jun 2015 00:50:34 +0000 Subject: [PATCH] Don't warn that a movie lacks sync settings if the core itself has no sync settings. Cores like Apple II do not, for instance. Fixes issue #437 --- BizHawk.Client.EmuHawk/MainForm.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 91424c0ec4..c168e3c196 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -1942,14 +1942,18 @@ namespace BizHawk.Client.EmuHawk } else { - MessageBox.Show( + e.Settings = Global.Config.GetCoreSyncSettings(e.Core); + + // adelikat: only show this nag if the core actually has sync settings, not all cores do + if (e.Settings != null) + { + MessageBox.Show( "No sync settings found, using currently configured settings for this core.", "No sync settings found", MessageBoxButtons.OK, MessageBoxIcon.Warning ); - - e.Settings = Global.Config.GetCoreSyncSettings(e.Core); + } } } else