Running in autodetect mode should not start the disassembly.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3102 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-11-24 22:09:06 +00:00
parent 068f07d919
commit ca5f456cf9
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ bool CartDebug::disassemble(bool force)
bool pagedirty = (PC & 0x1000) ? mySystem.isPageDirty(0x1000, 0x1FFF) : bool pagedirty = (PC & 0x1000) ? mySystem.isPageDirty(0x1000, 0x1FFF) :
mySystem.isPageDirty(0x80, 0xFF); mySystem.isPageDirty(0x80, 0xFF);
bool changed = (force || bankChanged || !pcfound || pagedirty); bool changed = !mySystem.autodetectMode() &&
(force || bankChanged || !pcfound || pagedirty);
if(changed) if(changed)
{ {
// Are we disassembling from ROM or ZP RAM? // Are we disassembling from ROM or ZP RAM?