Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not reset on minor state load errors #623
The state load function resets the machine too aggressively in my opinion. Occasionally I press F12 instead of F11 to save a state, and after specifying an invalid file name get an error and the system resets, despite no configuration being set. For those minor errors that occur at the start of the state load process, instead of throwing an exception, this displays the error message and cancels the state load.
added a commit
this pull request
Feb 24, 2019
I've changed the patch to something simpler and IMO more consistent.
So I've reverted to nearly what the code was before, but added a bool to control whether to restart or not.