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:
parent
1f0c994b46
commit
aa75bd52e9
|
@ -753,7 +753,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
public void LoadRamWatch(bool loadDialog)
|
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
|
if (IsAvailable<RamWatch>()) // Just because we attempted to load it, doesn't mean it was, the current core may not have the correct dependencies
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue