From 134d6b8c18270660a984b13b2555e7293583f7b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Sat, 29 Apr 2023 18:06:26 +0100
Subject: [PATCH] docs: new comment added

---
 src/ppu.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ppu.rs b/src/ppu.rs
index 81012027..40391df5 100644
--- a/src/ppu.rs
+++ b/src/ppu.rs
@@ -747,6 +747,7 @@ impl Ppu {
                 self.palettes_color[0][self.palette_address_bg as usize] = value;
                 //@TODO: update palette background data accordingly for the given update
                 // index - should not be a problem
+                // compute_palette_color should probably be the name
                 if self.auto_increment_bg {
                     self.palette_address_bg = (self.palette_address_bg + 1) & 0x3f;
                 }
@@ -761,6 +762,7 @@ impl Ppu {
                 self.palettes_color[1][self.palette_address_obj as usize] = value;
                 //@TODO: update palette object data accordingly for the given update
                 // index - should not be a problem
+                // compute_palette_color should probably be the name
                 if self.auto_increment_obj {
                     self.palette_address_obj = (self.palette_address_obj + 1) & 0x3f;
                 }
-- 
GitLab