summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-15 20:25:56 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-15 20:25:56 +0000
commitdcf442e61f21fb2aef5ce7de0547f733557b156e (patch)
tree93676844acb632ea304d4529e39c0aa1eee0fe5f /firmware
parent6f6dffa4a6511b2054c3f65ff37fe07f196429ea (diff)
YUV Dither: r12 saving was removed but stacked parameter load offset wasn't changed to compensate, resulting in an improperly aligned dither kernel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26064 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/iriver/h10/lcd-as-h10.S2
-rw-r--r--firmware/target/arm/lcd-as-memframe.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-as-h10.S b/firmware/target/arm/iriver/h10/lcd-as-h10.S
index e99eee50c9..b3f12e46b6 100644
--- a/firmware/target/arm/iriver/h10/lcd-as-h10.S
+++ b/firmware/target/arm/iriver/h10/lcd-as-h10.S
@@ -278,7 +278,7 @@ lcd_write_yuv420_lines_odither:
@ r5 = yuv_src[1] = Cb_p
@ r6 = yuv_src[2] = Cr_p
@
- ldr r0, [sp, #40] @ Line up pattern and kernel quadrant
+ ldr r0, [sp, #36] @ Line up pattern and kernel quadrant
eor r14, r3, r0 @
and r14, r14, #0x2 @
mov r14, r14, lsl #6 @ 0x00 or 0x80
diff --git a/firmware/target/arm/lcd-as-memframe.S b/firmware/target/arm/lcd-as-memframe.S
index a6f9145fab..4532bab221 100644
--- a/firmware/target/arm/lcd-as-memframe.S
+++ b/firmware/target/arm/lcd-as-memframe.S
@@ -393,7 +393,7 @@ lcd_write_yuv420_lines_odither:
@ r6 = yuv_src[2] = Cr_p
@
sub r3, r3, #1 @
- add r1, sp, #40 @ Line up pattern and kernel quadrant
+ add r1, sp, #36 @ Line up pattern and kernel quadrant
ldmia r1, { r12, r14 } @
eor r14, r14, r12 @
and r14, r14, #0x2 @