comparison tools/lib64gfx.c @ 923:0f477446448d

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 15:09:37 +0200
parents 2454ddb7363f
children 732787cccca8
comparison
equal deleted inserted replaced
922:658bf4c452d0 923:0f477446448d
857 *plen = 0; 857 *plen = 0;
858 return res; 858 return res;
859 } 859 }
860 860
861 861
862 static inline Uint8 dmC64GetMCColor(const DMC64Image *img, const int bits, const int cbank, const int vbank, const int scroffs) 862 static inline Uint8 dmC64GetMCColor(const DMC64Image *img,
863 const int bits, const int cbank, const int vbank, const int scroffs)
863 { 864 {
864 switch (bits) 865 switch (bits)
865 { 866 {
866 case 0: return img->bgcolor; break; 867 case 0: return img->bgcolor; break;
867 case 1: return img->screen[vbank][scroffs] >> 4; break; 868 case 1: return img->screen[vbank][scroffs] >> 4; break;