OSDN Git Service
(root)
/
proj16
/
16.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2cf4f
)
made iq=(*i)-q
author
sparky4
<sparky4@cock.li>
Sat, 11 Nov 2017 22:36:43 +0000
(16:36 -0600)
committer
sparky4
<sparky4@cock.li>
Sat, 11 Nov 2017 22:36:43 +0000
(16:36 -0600)
src/lib/16_vlpal.c
patch
|
blob
|
history
diff --git
a/src/lib/16_vlpal.c
b/src/lib/16_vlpal.c
index
ce3ecaa
..
6911718
100755
(executable)
--- a/
src/lib/16_vlpal.c
+++ b/
src/lib/16_vlpal.c
@@
-125,9
+125,9
@@
VL_palette(imgtestpal_t *bmp, byte *p, word *i, word qp, word aqoffset, word *ap
printf("qq: %02d\n", (qq));//
\r
printf(" (*i)-q=%02d\n", (*i)-q);//
\r
#endif
\r
- iq=(*i)-q;
\r
outp(PAL_WRITE_REG, qq); /* start at the beginning of palette */
\r
}
\r
+ iq=(*i)-q;
\r
if((*i)<PAL_SIZE && w==0)
\r
{
\r
for(; (*i)<PAL_SIZE; (*i)++)
\r