X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=gpsp.git;a=blobdiff_plain;f=gp2x%2Fupscale_aspect.s;h=ed67c63f84dfec62ebcc8e0eeb1573edcf94c42a;hp=b7694caaa716556356f971932cd066394eefb365;hb=cd4e2bda37c4a76478053272a256c7ddedfcb9d6;hpb=5c6e71a06127c052326bf4dbae67d473030b6dc7 diff --git a/gp2x/upscale_aspect.s b/gp2x/upscale_aspect.s index b7694ca..ed67c63 100644 --- a/gp2x/upscale_aspect.s +++ b/gp2x/upscale_aspect.s @@ -37,14 +37,14 @@ */ .macro unpack_hi dst, src - mov \dst, \src, lsr #16 - orr \dst, \dst, lsl #16 + mov \dst, \src, lsr #16 + orr \dst, \dst, \dst, lsl #16 and \dst, \dst, lr .endm .macro unpack_lo dst, src - mov \dst, \src, lsl #16 - orr \dst, \dst, lsr #16 + mov \dst, \src, lsl #16 + orr \dst, \dst, \dst, lsr #16 and \dst, \dst, lr .endm