Fixed what must have been a long-standing bug; typing the 'reset' command

in the debugger wasn't actually resetting the bankswitching, since it was
being locked.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3314 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2016-08-22 16:53:09 +00:00
parent 07798111cb
commit b0960a5fd2
1 changed files with 2 additions and 0 deletions

View File

@ -255,7 +255,9 @@ const string Debugger::invIfChanged(int reg, int oldReg)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Debugger::reset()
{
unlockBankswitchState();
mySystem.reset();
lockBankswitchState();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -