chore(ppu): rename ppu/registers.rs to ppu/types.rs
This commit is contained in:
parent
c60bf704ff
commit
cd21c90722
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue