aboutsummaryrefslogtreecommitdiff
path: root/src/memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.rs')
-rw-r--r--src/memory.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/memory.rs b/src/memory.rs
index 6a62678..fb07ad5 100644
--- a/src/memory.rs
+++ b/src/memory.rs
@@ -115,17 +115,6 @@ impl<'a> PPUMemory<'a> {
mirror_type,
mapper}
}
-
- pub fn dump(&self) {
- for (i, v) in self.palette.iter().enumerate() {
- print!("{:02x} ", *v);
- if (i & 0x7) == 0x7 {println!("@{:02x}", i)}
- }
- for (i, v) in self.nametable.iter().enumerate() {
- print!("{:02x} ", *v);
- if (i & 0x1f) == 0x1f {println!("@{:02x}", i)}
- }
- }
}
const MIRROR_IDX: [[u8; 4]; 5] = [