[cln] Cleanup and fixes
This commit is contained in:
@@ -35,9 +35,6 @@ impl GraphicsProcessor {
|
||||
let mut fb = self.frame_buffer.borrow_mut();
|
||||
fb.copy_from_slice(memory_slice);
|
||||
}
|
||||
pub fn get_framebuffer(&self) -> Box<[u8; DEVICE_FRAMEBUFFER_SIZE]> {
|
||||
self.frame_buffer.borrow().clone()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
@@ -25,7 +25,7 @@ fn main() -> EmulatorResult<()> {
|
||||
|
||||
let mut cpu = Cpu::new(&mmu,&program_counter);
|
||||
for i in 0..1{
|
||||
cpu.cycle();
|
||||
cpu.cycle()?;
|
||||
}
|
||||
|
||||
// let sdl_context = sdl2::init().unwrap();
|
||||
|
Reference in New Issue
Block a user