From 73f2200bc373732676c26bf49501c65ff59eaef0 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sun, 28 Apr 2024 22:36:19 +0200 Subject: [PATCH] typo in format string --- breakpoint_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breakpoint_memory.cpp b/breakpoint_memory.cpp index b37e3f4..4c59e6b 100644 --- a/breakpoint_memory.cpp +++ b/breakpoint_memory.cpp @@ -31,7 +31,7 @@ std::optional breakpoint_memory::is_triggered() const if (it == values.end()) return { }; - return format("MEM%c%c[%08a]=%06o", word_mode == wm_byte ? 'B' : 'W', is_virtual ? 'V' : 'P', addr, v); + return format("MEM%c%c[%08o]=%06o", word_mode == wm_byte ? 'B' : 'W', is_virtual ? 'V' : 'P', addr, v); } std::pair > breakpoint_memory::parse(bus *const b, const std::string & in)