diff --git a/src/bus.rs b/src/bus.rs index 9dff821..ef7aeb1 100644 --- a/src/bus.rs +++ b/src/bus.rs @@ -6,7 +6,7 @@ use super::ppu::PPU; pub struct Bus { boot: Option<[u8; 256]>, // Boot ROM is 256b long cartridge: Option, - ppu: PPU + ppu: PPU, } impl Default for Bus { diff --git a/src/ppu.rs b/src/ppu.rs index 8319aea..e1adaef 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -13,7 +13,7 @@ impl Default for PPU { } } -#[derive(Debug,Default, Clone, Copy)] +#[derive(Debug, Default, Clone, Copy)] struct LCDControl { lcd_enable: bool, // Bit 7 window_tile_map_select: bool,