chore(ppu): refactor OAM Scan implementation

This commit is contained in:
2021-10-20 03:14:30 -03:00
parent 293e5762c3
commit 37cf3d92e4
2 changed files with 26 additions and 79 deletions

View File

@@ -183,7 +183,7 @@ pub enum ObjectSize {
}
impl ObjectSize {
pub(crate) fn as_u8(&self) -> u8 {
pub(crate) fn size(&self) -> u8 {
use ObjectSize::*;
match self {