aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machineconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/machineconfig.cpp')
-rw-r--r--qtmips_machine/machineconfig.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/machineconfig.cpp b/qtmips_machine/machineconfig.cpp
index 7538765..05624cc 100644
--- a/qtmips_machine/machineconfig.cpp
+++ b/qtmips_machine/machineconfig.cpp
@@ -3,11 +3,14 @@
MachineConfig::MachineConfig() {
pipeline = false;
jumppred = false;
+ cache_type = CCT_NONE;
+ elf_path = QString("");
}
MachineConfig::MachineConfig(MachineConfig *cc) {
pipeline = cc->pipelined();
jumppred = cc->jump_prediction();
+ cache_type = cc->cache();
elf_path = cc->elf();
}