mirror of https://github.com/stella-emu/stella.git
fixed #270
This commit is contained in:
parent
0e5a444699
commit
b6080e1701
|
@ -530,7 +530,7 @@ uInt16 Debugger::windStates(uInt16 numStates, bool unwind, string& message)
|
|||
{
|
||||
RewindManager& r = myOSystem.state().rewindManager();
|
||||
|
||||
mySystem.clearDirtyPages();
|
||||
saveOldState();
|
||||
|
||||
unlockBankswitchState();
|
||||
|
||||
|
@ -617,6 +617,7 @@ void Debugger::setStartState()
|
|||
// Save initial state and add it to the rewind list (except when in currently rewinding)
|
||||
RewindManager& r = myOSystem.state().rewindManager();
|
||||
saveOldState(false);
|
||||
// avoid invalidating future states when entering the debugger during rewind
|
||||
if (r.atLast())
|
||||
addState("enter debugger");
|
||||
|
||||
|
|
Loading…
Reference in New Issue