aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/qtmipsmachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp
index c7a00aa..7a64429 100644
--- a/qtmips_machine/qtmipsmachine.cpp
+++ b/qtmips_machine/qtmipsmachine.cpp
@@ -190,7 +190,7 @@ void QtMipsMachine::step_internal(bool skip_break) {
QTime start_time = QTime::currentTime();
do {
cr->step(skip_break);
- } while(time_chunk != 0 && stat == ST_BUSY &&
+ } while(time_chunk != 0 && stat == ST_BUSY && skip_break == false &&
start_time.msecsTo(QTime::currentTime()) < (int)time_chunk);
} catch (QtMipsException &e) {
run_t->stop();