diff --git a/shell/h.cpp b/shell/h.cpp index a0db8cb..0c1ae0d 100644 --- a/shell/h.cpp +++ b/shell/h.cpp @@ -38,10 +38,10 @@ void _h_hexdump(Session &session, Range r, Selections sel) fmt::print(" "); } else if(is_selected(addr, sel)) { - fmt::print(theme(13), "{:02x}", v.read_u8(addr)); + fmt::print(theme(13), "{:02x}", v.read_u8(addr).value); } else { - fmt::print("{:02x}", v.read_u8(addr)); + fmt::print("{:02x}", v.read_u8(addr).value); } }