mirror of https://github.com/stella-emu/stella.git
moved loading of config and DASM list & symbols files before executing auto scripts
This commit is contained in:
parent
617147a175
commit
db3a38be7b
|
@ -381,6 +381,10 @@ void PromptWidget::loadConfig()
|
||||||
print(version);
|
print(version);
|
||||||
print(PROMPT);
|
print(PROMPT);
|
||||||
|
|
||||||
|
print(instance().debugger().cartDebug().loadConfigFile() + "\n");
|
||||||
|
print(instance().debugger().cartDebug().loadListFile() + "\n");
|
||||||
|
print(instance().debugger().cartDebug().loadSymbolFile() + "\n");
|
||||||
|
|
||||||
// Take care of one-time debugger stuff
|
// Take care of one-time debugger stuff
|
||||||
// fill the history from the saved breaks, traps and watches commands
|
// fill the history from the saved breaks, traps and watches commands
|
||||||
StringList history;
|
StringList history;
|
||||||
|
@ -389,9 +393,6 @@ void PromptWidget::loadConfig()
|
||||||
addToHistory(h.c_str());
|
addToHistory(h.c_str());
|
||||||
|
|
||||||
history.clear();
|
history.clear();
|
||||||
print(instance().debugger().cartDebug().loadConfigFile() + "\n");
|
|
||||||
print(instance().debugger().cartDebug().loadListFile() + "\n");
|
|
||||||
print(instance().debugger().cartDebug().loadSymbolFile() + "\n");
|
|
||||||
|
|
||||||
bool extra = false;
|
bool extra = false;
|
||||||
if(instance().settings().getBool("dbg.autosave"))
|
if(instance().settings().getBool("dbg.autosave"))
|
||||||
|
|
Loading…
Reference in New Issue