aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-15 15:22:44 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-15 15:22:44 +0100
commitd7d9860051a9a9eb2c6f11684535ac65cce38eb8 (patch)
tree55976fdbfcac8fd34bb073258c5fc32506c11022 /qtmips_machine/qtmipsmachine.cpp
parenta8d4f0d2c7ec70f22b1fb4a7614ebd076a2916cd (diff)
downloadqtmips-d7d9860051a9a9eb2c6f11684535ac65cce38eb8.tar.gz
qtmips-d7d9860051a9a9eb2c6f11684535ac65cce38eb8.tar.bz2
qtmips-d7d9860051a9a9eb2c6f11684535ac65cce38eb8.zip
Cleanup some todos in code
Diffstat (limited to 'qtmips_machine/qtmipsmachine.cpp')
-rw-r--r--qtmips_machine/qtmipsmachine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp
index c60cdce..456640a 100644
--- a/qtmips_machine/qtmipsmachine.cpp
+++ b/qtmips_machine/qtmipsmachine.cpp
@@ -66,7 +66,6 @@ bool QtMipsMachine::exited() {
// We don't allow to call control methods when machine exited or if it's busy
// We rather silently fail.
-// TODO wouldn't be error better?
#define CTL_GUARD do { if (exited() || stat == ST_BUSY) return; } while(false)
void QtMipsMachine::play() {