remove memory debug logs

This commit is contained in:
Denis-Cosmin NUTIU 2024-12-02 23:22:02 +02:00
parent 3f24509955
commit 28ddc9b690

View file

@ -83,8 +83,7 @@ where
.iter() .iter()
.enumerate() .enumerate()
.for_each(|i| self.memory[0xf0 + i.0] = *i.1); .for_each(|i| self.memory[0xf0 + i.0] = *i.1);
info!("Loaded font data..."); info!("Loaded font data into memory at 0xf0.");
debug!("Memory:\n{}\n", format!("{:?}", self.memory))
} }
/// Emulates the ROM specified at `path`. /// Emulates the ROM specified at `path`.
@ -150,8 +149,6 @@ where
// Set program counter to start of memory // Set program counter to start of memory
self.program_counter = 0x200; self.program_counter = 0x200;
debug!("Memory:\n{}\n", format!("{:?}", self.memory));
Ok(()) Ok(())
} }
} }