When adding an address to ram watch from another ram tool, don't load ram watch if it is already open

This commit is contained in:
adelikat 2015-06-21 00:21:36 +00:00
parent 1f0c994b46
commit aa75bd52e9
1 changed files with 4 additions and 1 deletions

View File

@ -753,7 +753,10 @@ namespace BizHawk.Client.EmuHawk
public void LoadRamWatch(bool loadDialog)
{
Load<RamWatch>();
if (!IsLoaded<RamWatch>())
{
Load<RamWatch>();
}
if (IsAvailable<RamWatch>()) // Just because we attempted to load it, doesn't mean it was, the current core may not have the correct dependencies
{