chore: format code
This commit is contained in:
parent
26df683cff
commit
fe74f80ddf
|
@ -6,7 +6,7 @@ use super::ppu::PPU;
|
|||
pub struct Bus {
|
||||
boot: Option<[u8; 256]>, // Boot ROM is 256b long
|
||||
cartridge: Option<Cartridge>,
|
||||
ppu: PPU
|
||||
ppu: PPU,
|
||||
}
|
||||
|
||||
impl Default for Bus {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue