diff --git a/src/mmu.rs b/src/mmu.rs index 1cb4e30..481e5ea 100644 --- a/src/mmu.rs +++ b/src/mmu.rs @@ -182,6 +182,9 @@ impl Mmu for MmuCard { ) -> NullableResult { let print_debug = self.print_debug; if self.enabled { + if print_debug { + println!("Translating {:#x}", address); + } let page = address >> 12; let offset = address & 0xFFF; let entry = if let Some(entry) = self.cache[page as usize] {