mirror of https://github.com/stella-emu/stella.git
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:
parent
07798111cb
commit
b0960a5fd2
|
@ -255,7 +255,9 @@ const string Debugger::invIfChanged(int reg, int oldReg)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void Debugger::reset()
|
void Debugger::reset()
|
||||||
{
|
{
|
||||||
|
unlockBankswitchState();
|
||||||
mySystem.reset();
|
mySystem.reset();
|
||||||
|
lockBankswitchState();
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue