|
|
| version 1.3, 2003/10/25 19:10:37 | version 1.4, 2004/01/22 01:10:04 |
|---|---|
| Line 148 const BYTE *p; | Line 148 const BYTE *p; |
| if (sdraw->dirty[y+1]) { | if (sdraw->dirty[y+1]) { |
| for (x=0; x<sdraw->width; x++) { | for (x=0; x<sdraw->width; x++) { |
| *(UINT32 *)q = np2_pal32[NP2PAL_TEXT].d; | SDSETPIXEL(q, NP2PAL_TEXT); |
| q += sdraw->xalign; | q += sdraw->xalign; |
| } | } |
| q -= sdraw->xbytes; | q -= sdraw->xbytes; |
| Line 402 const BYTE *q; | Line 402 const BYTE *q; |
| y = sdraw->y; | y = sdraw->y; |
| do { | do { |
| if (sdraw->dirty[y]) { | if (sdraw->dirty[y]) { |
| SDSETPIXEL(r, q[0] + NP2PAL_GRPH); | SDSETPIXEL(r, q[0] + NP2PAL_GRPH); // !! |
| r += sdraw->xalign; | r += sdraw->xalign; |
| for (x=1; x<sdraw->width; x++) { | for (x=1; x<sdraw->width; x++) { |
| SDSETPIXEL(r, p[x-1] + q[x] + NP2PAL_GRPH); | SDSETPIXEL(r, p[x-1] + q[x] + NP2PAL_GRPH); |