diff --git a/src/processor/memory.rs b/src/processor/memory.rs index ea1de77..bfe012e 100644 --- a/src/processor/memory.rs +++ b/src/processor/memory.rs @@ -13,12 +13,10 @@ pub(crate) mod rom; pub(crate) type Address = u16; -#[allow(dead_code)] pub struct Memory { bootrom: Option>, 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, diff --git a/src/processor/memory/mmio/gpu.rs b/src/processor/memory/mmio/gpu.rs index f43f2ba..0e58f08 100644 --- a/src/processor/memory/mmio/gpu.rs +++ b/src/processor/memory/mmio/gpu.rs @@ -301,7 +301,6 @@ impl Gpu { } } - #[allow(clippy::too_many_arguments)] fn render_tiles( &mut self, scanline: u8,