Skip to content

Commit 6c077e0

Browse files
committed
Changing format inside verbose 2
1 parent ea28974 commit 6c077e0

File tree

1 file changed

+4
-1
lines changed
  • crates/libmwemu/src/engine/instructions

1 file changed

+4
-1
lines changed

crates/libmwemu/src/engine/instructions/mov.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ pub fn execute(emu: &mut Emu, ins: &Instruction, instruction_sz: usize, _rep_ste
1212
return false;
1313
}
1414
};
15-
emu.show_instruction_comment(color!("LightCyan"), ins, &format!("0x{:x}", value1));
15+
if emu.cfg.verbose >= 2 {
16+
emu.show_instruction_comment(color!("LightCyan"), ins, &format!("0x{:x}", value1));
17+
}
18+
1619

1720
/*
1821
if emu.pos == 189464541 {

0 commit comments

Comments
 (0)