MultiHawk - misc thins to make it more useable

This commit is contained in:
adelikat 2015-03-07 01:00:12 +00:00
parent dcd79cd678
commit 62d68e0a87
1 changed files with 21 additions and 6 deletions

View File

@ -675,19 +675,33 @@ namespace BizHawk.Client.MultiHawk
//}
}
public void LoadQuickSave(string quickSlotName, bool fromLua = false)
public void LoadQuickSave(string quickSlotName)
{
foreach (var window in EmulatorWindows)
try
{
window.LoadQuickSave(quickSlotName);
foreach (var window in EmulatorWindows)
{
window.LoadQuickSave(quickSlotName);
}
}
catch
{
MessageBox.Show("Could not load " + quickSlotName);
}
}
public void SaveQuickSave(string quickSlotName)
{
foreach (var window in EmulatorWindows)
try
{
window.SaveQuickSave(quickSlotName);
foreach (var window in EmulatorWindows)
{
window.SaveQuickSave(quickSlotName);
}
}
catch
{
MessageBox.Show("Could not save " + quickSlotName);
}
}
@ -701,6 +715,7 @@ namespace BizHawk.Client.MultiHawk
{
// TODO
SaveSlotSelectedMessage();
UpdateAfterFrameChanged();
}
private void SaveSlotSelectedMessage()
@ -1217,7 +1232,7 @@ namespace BizHawk.Client.MultiHawk
Global.MovieSession.RunQueuedMovie(record);
SetMainformMovieInfo();
UpdateAfterFrameChanged();
return true;
}