From fe74f80ddfacd8d2503ba97a6940c3404c1cc348 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 24 Dec 2020 00:34:48 -0600 Subject: [PATCH] chore: format code --- src/bus.rs | 2 +- src/ppu.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,