diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-03 23:03:59 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-03 23:03:59 +0100 |
commit | 361f5aab10d72e2200dfc7985a1511044b987db8 (patch) | |
tree | 02688761a1dc29731c0fc069a2d89205a867a8ef /qtmips_gui/memoryview.h | |
parent | 55e1bc746a45118e14554c957b4ee4663039d9af (diff) | |
download | qtmips-361f5aab10d72e2200dfc7985a1511044b987db8.tar.gz qtmips-361f5aab10d72e2200dfc7985a1511044b987db8.tar.bz2 qtmips-361f5aab10d72e2200dfc7985a1511044b987db8.zip |
Correct memory view updates for uncached and write-through case.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/memoryview.h')
-rw-r--r-- | qtmips_gui/memoryview.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |