From 69f0df9cbaed6620a190ac289958c5bf7c079d92 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 16 Jun 2011 18:43:51 +0300 Subject: arm_utils: relax alignment requirements the code needing alignment isn't reached often anyway. --- plugins/gpu_unai/gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/gpu_unai') diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp index 5152327..0ef8f51 100644 --- a/plugins/gpu_unai/gpu.cpp +++ b/plugins/gpu_unai/gpu.cpp @@ -879,7 +879,7 @@ static void blit(void) u16 *srcs; u8 *dest; - x0 = DisplayArea[0] & ~3; // alignment needed by blitter + x0 = DisplayArea[0] & ~1; // alignment needed by blitter y0 = DisplayArea[1]; srcs = &((u16*)GPU_FrameBuffer)[FRAME_OFFSET(x0,y0)]; -- cgit v1.2.3