aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai
diff options
context:
space:
mode:
authornotaz2011-06-16 18:43:51 +0300
committernotaz2011-07-08 00:14:51 +0300
commit69f0df9cbaed6620a190ac289958c5bf7c079d92 (patch)
treee9b98c14108d0b701f07e2f5edea40993fe21b77 /plugins/gpu_unai
parent04fd948ab0639acff080434f54212af13ab14ef1 (diff)
downloadpcsx_rearmed-69f0df9cbaed6620a190ac289958c5bf7c079d92.tar.gz
pcsx_rearmed-69f0df9cbaed6620a190ac289958c5bf7c079d92.tar.bz2
pcsx_rearmed-69f0df9cbaed6620a190ac289958c5bf7c079d92.zip
arm_utils: relax alignment requirements
the code needing alignment isn't reached often anyway.
Diffstat (limited to 'plugins/gpu_unai')
-rw-r--r--plugins/gpu_unai/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
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)];