From 0f28ad425b37efa15a876ff593b02cd6c12de0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 7 May 2023 00:18:34 +0100 Subject: [PATCH] docs: new inline comment --- src/ppu.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ppu.rs b/src/ppu.rs index f3c1f0f6..8695ee6c 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -1254,6 +1254,8 @@ impl Ppu { false }; + // iterates over the complete set of available object to checks + // the ones that required drawing and draws them for index in 0..OBJ_COUNT { // in case the limit on the number of objects to be draw per // line has been reached breaks the loop avoiding more draws -- GitLab