mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Don't try to append operands to 'None'.
This commit is contained in:
parent
2a40e419fc
commit
3ef53315a2
@ -61,7 +61,7 @@ std::string Preinstruction::to_string(int opcode) const {
|
||||
const char *instruction;
|
||||
|
||||
switch(operation) {
|
||||
case Operation::Undefined: instruction = "None"; break;
|
||||
case Operation::Undefined: return "None";
|
||||
case Operation::NOP: instruction = "NOP"; break;
|
||||
case Operation::ABCD: instruction = "ABCD"; break;
|
||||
case Operation::SBCD: instruction = "SBCD"; break;
|
||||
|
Loading…
Reference in New Issue
Block a user