chore(ppu): rename select structs

This commit is contained in:
2021-04-30 00:24:22 -05:00
parent 6ffdd92dbb
commit 51252db753
2 changed files with 12 additions and 14 deletions

View File

@@ -303,9 +303,9 @@ impl From<ObjectPalette> for u8 {
}
}
pub struct TwoBitsPerPixel(u8, u8);
pub struct Pixel(u8, u8);
impl TwoBitsPerPixel {
impl Pixel {
pub fn from_bytes(higher: u8, lower: u8) -> Self {
Self(higher, lower)
}