diff --git a/src/ppu.rs b/src/ppu.rs index ab9c0cb..f2f39bc 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -4,12 +4,12 @@ use crate::GB_WIDTH; use std::collections::VecDeque; use std::convert::TryInto; -use self::registers::{ +use self::types::{ BackgroundPalette, GrayShade, LCDControl, LCDStatus, ObjectFlags, ObjectPalette, ObjectPaletteId, ObjectSize, Pixels, PpuMode, RenderPriority, TileDataAddress, }; -mod registers; +mod types; const VRAM_SIZE: usize = 0x2000; const OAM_SIZE: usize = 0xA0; diff --git a/src/ppu/registers.rs b/src/ppu/types.rs similarity index 100% rename from src/ppu/registers.rs rename to src/ppu/types.rs