From 361f5aab10d72e2200dfc7985a1511044b987db8 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 3 Feb 2019 23:03:59 +0100 Subject: Correct memory view updates for uncached and write-through case. Signed-off-by: Pavel Pisa --- qtmips_gui/memoryview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qtmips_gui/memoryview.h') diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h index 1aeaf10..7b63d47 100644 --- a/qtmips_gui/memoryview.h +++ b/qtmips_gui/memoryview.h @@ -27,6 +27,9 @@ public: void edit_load_focus(); // Set current focus to edit field +public slots: + void check_for_updates(); + protected: const machine::Memory *memory; @@ -43,6 +46,7 @@ private slots: void go_edit_finish(); private: + std::uint32_t change_counter; unsigned count; std::uint32_t addr_0; // First address in view -- cgit v1.2.3