diff --git a/dcb-tools/src/decompiler/main.rs b/dcb-tools/src/decompiler/main.rs index ed7397f..050046d 100644 --- a/dcb-tools/src/decompiler/main.rs +++ b/dcb-tools/src/decompiler/main.rs @@ -136,7 +136,7 @@ fn main() -> Result<(), anyhow::Error> { fn inst_target<'a>(exe: &'a dcb_exe::Exe, func: &'a Func, pos: Pos) -> impl fmt::Display + 'a { dcb_util::DisplayWrapper::new(move |f| { if let Some(label) = func.labels.get(&pos) { - return write!(f, "{}", label); + return write!(f, ".{}", label); } if let Some(func) = exe.func_table().get(pos) {