From 22a577da59b482cc6cd3e6c363ef9d0410b185e4 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Mon, 19 Apr 2021 12:18:06 +0200 Subject: [PATCH] fixed formatting in verbose cpu output --- riscemu/CPU.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscemu/CPU.py b/riscemu/CPU.py index 12ef50c..ee47ad9 100644 --- a/riscemu/CPU.py +++ b/riscemu/CPU.py @@ -80,7 +80,7 @@ class CPU: try: self.cycle += 1 ins = self.mmu.read_ins(self.pc) - print("Running instruction {} from 0x{:08X}".format(ins, self.pc)) + print(FMT_CPU + " Running 0x{:08X}:{} {}".format(self.pc, FMT_NONE, ins)) self.pc += 1 self.__run_instruction(ins) except LaunchDebuggerException: