Ram Watch - Load most recent watch when loading Ram Watch dialog (if auto-load is on)
This commit is contained in:
parent
99d9ece5fd
commit
9d86fa0eb3
|
@ -784,6 +784,8 @@ namespace BizHawk.MultiClient
|
|||
private void LoadRamWatch() //TODO: accept a filename parameter and feed it to ram watch for loading
|
||||
{
|
||||
RamWatch RamWatch1 = new RamWatch();
|
||||
if (Global.Config.AutoLoadRamWatch)
|
||||
RamWatch1.LoadWatchFromRecent(Global.Config.RecentWatches.GetRecentFileByPosition(0));
|
||||
RamWatch1.Show();
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace BizHawk.MultiClient
|
|||
return count;
|
||||
}
|
||||
|
||||
private void LoadWatchFromRecent(string file)
|
||||
public void LoadWatchFromRecent(string file)
|
||||
{
|
||||
bool r = LoadWatchFile(file);
|
||||
if (!r)
|
||||
|
|
Loading…
Reference in New Issue