summaryrefslogtreecommitdiff
path: root/stage3/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/gfx.c')
-rw-r--r--stage3/gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage3/gfx.c b/stage3/gfx.c
index 70a68d9..7fe8df7 100644
--- a/stage3/gfx.c
+++ b/stage3/gfx.c
@@ -40,7 +40,7 @@ void gfx_draw_img(u16 x, u16 y, u16 w, u16 h, u32 *img)
{
void *cbeg = (void *) (u64) (gfx_info->framebuffer + y * gfx_info->pitch + x * sizeof(color));
for (u16 yi = 0; yi < h; cbeg += gfx_info->pitch, yi++)
- memcpy(cbeg, img + yi * w, w * sizeof(color));
+ lmemcpy(cbeg, img + yi * w, w * sizeof(color));
BARRIER_VAR(cbeg);
}