fix previous commit, new up a new state manager, also pop up a message to the user. Anyone can feel free to improve the error message
This commit is contained in:
parent
2f6bbd155f
commit
c28a12a410
|
@ -174,9 +174,13 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
catch
|
||||
{
|
||||
// Do nothing, if state history got corrupted, the file is still very much useable
|
||||
// Continue with a fresh manager. If state history got corrupted, the file is still very much useable
|
||||
// and we would want the user to be able to load, and regenerate their state history
|
||||
// however, we still have an issue of how state history got corrupted
|
||||
TasStateManager = new ZwinderStateManager(
|
||||
Session.Settings.DefaultTasStateManagerSettings,
|
||||
IsReserved);
|
||||
Session.PopupMessage("State history was corrupted, clearing and working with a fresh history.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue