From fc22d4b6a746f277160912fe077f73631a4163d3 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sun, 18 Apr 2021 18:39:48 +0200 Subject: [PATCH] added better colors to MMU output --- riscemu/MMU.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/riscemu/MMU.py b/riscemu/MMU.py index 8209620..b89d1db 100644 --- a/riscemu/MMU.py +++ b/riscemu/MMU.py @@ -2,6 +2,7 @@ from .Config import RunConfig from .Executable import Executable, LoadedExecutable, LoadedMemorySection from .helpers import align_addr from .Exceptions import OutOfMemoryException +from .colors import * from typing import Dict, List, Tuple, Optional @@ -48,7 +49,7 @@ class MMU: self.global_symbols.update(loaded_bin.exported_symbols) - print("Successfully loaded {}".format(loaded_bin)) + print(FMT_MEM + "Successfully loaded{}: {}".format(FMT_NONE, loaded_bin)) return loaded_bin