fixed loading screen. regression in blitfb
[dosdemo] / src / gfxutil.c
index d410766..6f8ca5e 100644 (file)
@@ -247,6 +247,7 @@ void blitfb(uint16_t *dest, uint16_t *src, int width, int height, int pitch_pix)
        for(i=0; i<height; i++) {
                memcpy(dest, src, width << 1);
                dest += 320;
+               src += pitch_pix;
        }
 }