From cfe13fdc741ae02b473cb30b36f94e3b01f1dad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Jan 2018 17:36:44 +0100 Subject: Implement machine reload Also this commit changes how we pass machine configuration around in gui. --- qtmips_gui/mainwindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qtmips_gui/mainwindow.h') diff --git a/qtmips_gui/mainwindow.h b/qtmips_gui/mainwindow.h index 9431515..1389f21 100644 --- a/qtmips_gui/mainwindow.h +++ b/qtmips_gui/mainwindow.h @@ -23,13 +23,14 @@ public: ~MainWindow(); void start(); - void create_core(machine::MachineConfig *config); + void create_core(const machine::MachineConfig &config); bool configured(); public slots: // Actions signals void new_machine(); + void machine_reload(); void show_registers(); void show_program(); void show_memory(); -- cgit v1.2.3