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

View file

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