Make MMU debug output show the address being translated

This commit is contained in:
pjht 2023-03-27 15:30:36 -05:00
parent 9be3153a7b
commit 414aebbdf4
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -222,7 +222,8 @@ impl Mmu for MmuCard {
}
if print_debug {
println!(
"Translation success, translated to {:#x}",
"Translation success, translated {:#x} to {:#x}",
address,
(entry.frame << 12) | offset
);
}