mirror of https://github.com/stella-emu/stella.git
This fixes the "stale prompt syndrome" for the "frame" command, but I'm
not 100% sure it doesn't break anything else. Steve...? git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@547 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
a9609b026a
commit
0a207b50ce
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: Debugger.cxx,v 1.28 2005-06-22 20:25:19 urchlay Exp $
|
// $Id: Debugger.cxx,v 1.29 2005-06-23 02:10:11 urchlay Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
@ -570,6 +570,7 @@ string Debugger::disassemble(int start, int lines) {
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void Debugger::nextFrame() {
|
void Debugger::nextFrame() {
|
||||||
myOSystem->frameBuffer().advance();
|
myOSystem->frameBuffer().advance();
|
||||||
|
myOSystem->frameBuffer().refresh(true); // Stephen, does this break anything? --Brian
|
||||||
myBaseDialog->loadConfig();
|
myBaseDialog->loadConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: DebuggerParser.cxx,v 1.27 2005-06-23 01:10:25 urchlay Exp $
|
// $Id: DebuggerParser.cxx,v 1.28 2005-06-23 02:10:11 urchlay Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
@ -557,12 +557,12 @@ string DebuggerParser::run(const string& command) {
|
||||||
} else if(subStringMatch(verb, "disasm")) {
|
} else if(subStringMatch(verb, "disasm")) {
|
||||||
return disasm();
|
return disasm();
|
||||||
} else if(subStringMatch(verb, "frame")) {
|
} else if(subStringMatch(verb, "frame")) {
|
||||||
/*
|
|
||||||
// FIXME: make multiple frames work!
|
// FIXME: make multiple frames work!
|
||||||
int count = 0;
|
/*
|
||||||
|
int count = 1;
|
||||||
if(argCount != 0) count = args[0];
|
if(argCount != 0) count = args[0];
|
||||||
|
cerr << count << endl;
|
||||||
for(int i=0; i<count; i++)
|
for(int i=0; i<count; i++)
|
||||||
debugger->nextFrame();
|
|
||||||
*/
|
*/
|
||||||
debugger->nextFrame();
|
debugger->nextFrame();
|
||||||
return "advanced frame";
|
return "advanced frame";
|
||||||
|
|
Loading…
Reference in New Issue