diff --git a/src/ppu.rs b/src/ppu.rs index f3c1f0f611392c4fbca15f5bc8d2c940611fbb4b..8695ee6c78dc50fa8cc06820a06bc16bf25f1084 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