From cd21c907220e211fde0bd5340e628fcf8b70479d Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 2 Jun 2021 23:31:57 -0500 Subject: [PATCH] chore(ppu): rename ppu/registers.rs to ppu/types.rs --- src/ppu.rs | 4 ++-- src/ppu/{registers.rs => types.rs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/ppu/{registers.rs => types.rs} (100%) 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