disable record movie dialog if core needs rebooting, fixes bug of recording the wrong sync settings into the movie and causing a crash
This commit is contained in:
parent
fa552cab81
commit
6d699012a6
|
@ -253,12 +253,16 @@ namespace BizHawk.Client.EmuHawk
|
|||
PlayFromBeginningMenuItem.ShortcutKeyDisplayString = Config.HotkeyBindings["Play from beginning"].Bindings;
|
||||
SaveMovieMenuItem.ShortcutKeyDisplayString = Config.HotkeyBindings["Save Movie"].Bindings;
|
||||
|
||||
RecordMovieMenuItem.Enabled
|
||||
= PlayMovieMenuItem.Enabled
|
||||
PlayMovieMenuItem.Enabled
|
||||
= ImportMoviesMenuItem.Enabled
|
||||
= RecentMovieSubMenu.Enabled
|
||||
= !Tools.IsLoaded<TAStudio>();
|
||||
|
||||
// Record movie dialog should not be opened while in need of a reboot,
|
||||
// Otherwise the wrong sync settings could be set for the recording movie and cause crashes
|
||||
RecordMovieMenuItem.Enabled = !Tools.IsLoaded<TAStudio>()
|
||||
&& RebootStatusBarIcon.Visible == false;
|
||||
|
||||
PlayFromBeginningMenuItem.Enabled = MovieSession.Movie.IsActive() && !Tools.IsLoaded<TAStudio>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue