fix pal palette bug better

This commit is contained in:
zeromus 2015-09-17 16:24:05 +00:00
parent b22aa5593e
commit 8049d0a96a
1 changed files with 2 additions and 2 deletions

View File

@ -652,8 +652,8 @@ void Blit8ToHigh(uint8 *src, uint8 *dest, int xr, int yr, int pitch, int xscale,
uint8 deemph = XDBuf[ofs];
//get combined index from basic value and preemph bitplane
index = *src | (deemph<<6);
//index += 256; // feos: why?
index = (*src&63) | (deemph*64);
index += 256;
src++;