From: notaz Date: Mon, 27 Feb 2012 23:48:30 +0000 (+0200) Subject: dfxvideo: use stricter alignment check X-Git-Tag: r14~8 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68602482156d907f9c51eb196e98f0f70b5510f8;p=pcsx_rearmed.git dfxvideo: use stricter alignment check for pre-ARMv6 mostly --- diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c index a27602a6..7a71d4c8 100644 --- a/plugins/dfxvideo/prim.c +++ b/plugins/dfxvideo/prim.c @@ -575,7 +575,7 @@ static void primMoveImage(unsigned char * baseAddr) return; } - if(imageSX&1) // not dword aligned? slower func + if((imageSX|imageX0|imageX1)&1) // not dword aligned? slower func { unsigned short *SRCPtr, *DSTPtr; unsigned short LineOffset;