From 95956a7457a1237385a314212c4e106bed88f05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 17 Apr 2018 12:44:44 +0200 Subject: Initial implementation of cache view It needs some more work to look nice but it already works. --- qtmips_gui/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_gui/mainwindow.cpp') diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp index d3434bc..4fb9cbf 100644 --- a/qtmips_gui/mainwindow.cpp +++ b/qtmips_gui/mainwindow.cpp @@ -118,8 +118,8 @@ void MainWindow::create_core(const machine::MachineConfig &config) { registers->setup(machine); program->setup(machine); memory->setup(machine); - cache_program->setup(machine->config().cache_program().enabled() ? machine->cache_program() : nullptr); - cache_data->setup(machine->config().cache_data().enabled() ? machine->cache_data() : nullptr); + cache_program->setup(machine->cache_program()); + cache_data->setup(machine->cache_data()); // Set status to ready machine_status(machine::QtMipsMachine::ST_READY); } -- cgit v1.2.3