/* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
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