dead code

This commit is contained in:
Alex Janka 2023-03-03 14:50:27 +11:00
parent 405a47f779
commit 3a4656076f
2 changed files with 0 additions and 4 deletions

View file

@ -13,12 +13,10 @@ pub(crate) mod rom;
pub(crate) type Address = u16;
#[allow(dead_code)]
pub struct Memory {
bootrom: Option<Vec<u8>>,
rom: Rom,
ram: [u8; 8192],
switchable_ram: [u8; 8192],
cpu_ram: [u8; 128],
pub(super) interrupts: Interrupts,
pub(super) ime: bool,
@ -48,7 +46,6 @@ impl Memory {
bootrom,
rom,
ram: [0x0; 8192],
switchable_ram: [0x0; 8192],
cpu_ram: [0x0; 128],
interrupts: Interrupts::default(),
ime: false,

View file

@ -301,7 +301,6 @@ impl Gpu {
}
}
#[allow(clippy::too_many_arguments)]
fn render_tiles(
&mut self,
scanline: u8,