chore: suggest inline for hot code
This commit is contained in:
parent
dbbf87af52
commit
64230973f1
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue