notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72ac80
)
dfxvideo: use stricter alignment check
author
notaz
<notasas@gmail.com>
Mon, 27 Feb 2012 23:48:30 +0000
(
01:48
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 27 Feb 2012 23:50:23 +0000
(
01:50
+0200)
for pre-ARMv6 mostly
plugins/dfxvideo/prim.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfxvideo/prim.c
b/plugins/dfxvideo/prim.c
index
a27602a
..
7a71d4c
100644
(file)
--- 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;