cleanup ramwatch during rom loads for other platforms a bit. should fix #285. the whole concept of ramwatch when loading other platforms needs some help though (the current watches mutate into some format senseless for the new platform)
This commit is contained in:
parent
2fb986715e
commit
200d11df62
|
@ -340,7 +340,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
LoadQuickSave("QuickSave" + Global.Config.SaveSlot);
|
||||
}
|
||||
|
||||
if (Global.Config.RecentWatches.AutoLoad)
|
||||
//can't do this unless we are autoloading a rom too...
|
||||
if (Global.Config.RecentWatches.AutoLoad
|
||||
&& Global.Emulator is IMemoryDomains)
|
||||
{
|
||||
GlobalWin.Tools.LoadRamWatch(!Global.Config.DisplayRamWatch);
|
||||
}
|
||||
|
|
|
@ -204,9 +204,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(_watches.CurrentFileName))
|
||||
{
|
||||
_watches.Reload();
|
||||
UpdateStatusBar();
|
||||
_watches.RefreshDomans(_core, _core.MemoryDomains.MainMemory);
|
||||
_watches.Reload();
|
||||
SetPlatformAndMemoryDomainLabel();
|
||||
UpdateStatusBar();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue