dead code
This commit is contained in:
parent
405a47f779
commit
3a4656076f
|
@ -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,
|
||||
|
|
|
@ -301,7 +301,6 @@ impl Gpu {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn render_tiles(
|
||||
&mut self,
|
||||
scanline: u8,
|
||||
|
|
Loading…
Reference in a new issue