mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
common console: also show prompt, if the engine wrote onto gui console since last call - fixes sci breakpoints
svn-id: r50449
This commit is contained in:
parent
0e7ccb896d
commit
0a58cdb6e9
@ -156,7 +156,9 @@ void ConsoleDialog::open() {
|
||||
_slideMode = kDownSlideMode;
|
||||
|
||||
Dialog::open();
|
||||
if (_promptStartPos == -1) {
|
||||
if ((_promptStartPos == -1) || (_currentPos > _promptEndPos)) {
|
||||
// we print a prompt, if this is the first time we are called or if the
|
||||
// engine wrote onto us since the last call
|
||||
print(PROMPT);
|
||||
_promptStartPos = _promptEndPos = _currentPos;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user