chore: format code

This commit is contained in:
Rekai Nyangadzayi Musuka 2020-12-24 00:34:48 -06:00
parent 26df683cff
commit fe74f80ddf
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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,