control moved into gemma for launch/stop/step of cpu core

This commit is contained in:
2024-10-18 10:52:39 -04:00
parent d829b9f03f
commit 1eeb746ccf
3 changed files with 47 additions and 68 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ impl Chip8SystemMemory {
}
}
pub fn peek(self, address: u16) -> u8 {
pub fn peek(&self, address: u16) -> u8 {
trace!("PEEK: {} / {}", address, self.memory[address as usize].clone());
self.memory[address as usize]
}