mirror of https://github.com/stella-emu/stella.git
Fixed crash in starting up the debugger; a re-disassemble should only occur after the debugger has started up completely.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2148 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
3ec26d3a29
commit
b775a83e00
|
@ -614,8 +614,8 @@ void Debugger::setStartState()
|
||||||
// Save initial state, but don't add it to the rewind list
|
// Save initial state, but don't add it to the rewind list
|
||||||
saveOldState(false);
|
saveOldState(false);
|
||||||
|
|
||||||
// Force a re-disassemble
|
// Set the 're-disassemble' flag, but don't do it until the next scheduled time
|
||||||
myRom->invalidate();
|
myRom->invalidate(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
|
@ -42,7 +42,8 @@ class RomWidget : public Widget, public CommandSender
|
||||||
RomWidget(GuiObject* boss, const GUI::Font& font, int x, int y);
|
RomWidget(GuiObject* boss, const GUI::Font& font, int x, int y);
|
||||||
virtual ~RomWidget();
|
virtual ~RomWidget();
|
||||||
|
|
||||||
void invalidate() { myListIsDirty = true; loadConfig(); }
|
void invalidate(bool forcereload = true)
|
||||||
|
{ myListIsDirty = true; if(forcereload) loadConfig(); }
|
||||||
|
|
||||||
void scrollTo(int line) { myRomList->setSelected(line); }
|
void scrollTo(int line) { myRomList->setSelected(line); }
|
||||||
void handleCommand(CommandSender* sender, int cmd, int data, int id);
|
void handleCommand(CommandSender* sender, int cmd, int data, int id);
|
||||||
|
|
Loading…
Reference in New Issue