diff --git a/src/ppu.rs b/src/ppu.rs index 9e80a09..30c6283 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -418,6 +418,7 @@ impl Ppu { self.frame_buf.swap_with_slice(&mut blank); } + #[inline] pub(crate) fn frame_buf(&self) -> &[u8; GB_HEIGHT * GB_WIDTH * 4] { &self.frame_buf }