aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r--qtmips_machine/qtmipsmachine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h
index 829e571..c185f28 100644
--- a/qtmips_machine/qtmipsmachine.h
+++ b/qtmips_machine/qtmipsmachine.h
@@ -32,6 +32,7 @@ public slots:
signals:
void program_exit();
+ void tick(); // Time tick
private:
Registers *regs;
@@ -43,6 +44,7 @@ private:
QTimer *run_t;
std::uint32_t program_end;
+ bool program_ended;
};
#endif // QTMIPSMACHINE_H