]> git.sesse.net Git - pistorm/blobdiff - platforms/amiga/rtg/rtg-gfx.c
Fix masked FillRect, add buptest bus tester
[pistorm] / platforms / amiga / rtg / rtg-gfx.c
index 558816b40ef50329045b2e9581ed9a16faee81a9..ab54fbf548ed066003cd00dd7ff0b053e4394ebe 100644 (file)
@@ -56,6 +56,7 @@ void rtg_fillrect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint32_t color
         for (int xs = 0; xs < w; xs++) {
             SET_RTG_PIXEL_MASK(&dptr[xs], (color & 0xFF), format);
         }
+        dptr += pitch;
     }
 }