chore(ppu): rename ppu/registers.rs to ppu/types.rs

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-06-02 23:31:57 -05:00
parent c60bf704ff
commit cd21c90722
2 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@ use crate::GB_WIDTH;
use std::collections::VecDeque; use std::collections::VecDeque;
use std::convert::TryInto; use std::convert::TryInto;
use self::registers::{ use self::types::{
BackgroundPalette, GrayShade, LCDControl, LCDStatus, ObjectFlags, ObjectPalette, BackgroundPalette, GrayShade, LCDControl, LCDStatus, ObjectFlags, ObjectPalette,
ObjectPaletteId, ObjectSize, Pixels, PpuMode, RenderPriority, TileDataAddress, ObjectPaletteId, ObjectSize, Pixels, PpuMode, RenderPriority, TileDataAddress,
}; };
mod registers; mod types;
const VRAM_SIZE: usize = 0x2000; const VRAM_SIZE: usize = 0x2000;
const OAM_SIZE: usize = 0xA0; const OAM_SIZE: usize = 0xA0;