aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/coreview/memory.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qtmips_gui/coreview/memory.cpp b/qtmips_gui/coreview/memory.cpp
index 13355db..cde1c72 100644
--- a/qtmips_gui/coreview/memory.cpp
+++ b/qtmips_gui/coreview/memory.cpp
@@ -18,9 +18,7 @@ Memory::Memory(machine::QtMipsMachine *machine) : QGraphicsObject(nullptr) {
con_req_write = new Connector(M_PI_2);
con_req_read = new Connector(M_PI_2);
- if (machine->config().cache()) {
- // TODO cache?
- }
+ // TODO cache?
name = new QGraphicsSimpleTextItem("Memory", this);
QRectF name_box = name->boundingRect();