From a7a30cb514d9ae42a0e6ce87f0e4aa44621b94f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Fri, 28 Apr 2023 06:57:53 +0100 Subject: [PATCH] fix: small spell fix --- src/ppu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ppu.rs b/src/ppu.rs index f008e1bf..fbd91fe1 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -662,7 +662,7 @@ impl Ppu { // 0xFF69 — BCPD/BGPD (CGB only) 0xff69 => { self.palettes_color[0][self.palette_address_bg as usize] = value; - //@TODO: update palette background data accordingly for the give update + //@TODO: update palette background data accordingly for the given update // index - should not be a problem if self.auto_increment_bg { self.palette_address_bg = (self.palette_address_bg + 1) & 0x3f; @@ -676,7 +676,7 @@ impl Ppu { // 0xFF6B — OCPD/OBPD (CGB only) 0xff6b => { self.palettes_color[1][self.palette_address_obj as usize] = value; - //@TODO: update palette object data accordingly for the give update + //@TODO: update palette object data accordingly for the given update // index - should not be a problem if self.auto_increment_obj { self.palette_address_obj = (self.palette_address_obj + 1) & 0x3f; -- GitLab