diff options
-rw-r--r-- | qtmips_machine/instruction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.cpp b/qtmips_machine/instruction.cpp index 42b70d7..31c04a7 100644 --- a/qtmips_machine/instruction.cpp +++ b/qtmips_machine/instruction.cpp @@ -41,6 +41,7 @@ #include "instruction.h" #include "alu.h" #include "memory.h" +#include "utils.h" #include "qtmipsexception.h" using namespace machine; @@ -1142,6 +1143,7 @@ Instruction Instruction::from_string(QString str, bool *pok, uint32_t inst_addr) break; case 'p': val -= (inst_addr + 4); + FALLTROUGH case 'o': case 'n': // Qt functions are limited, toLongLong would be usable |