Previous 199869 Revisions Next

r21579 Tuesday 5th March, 2013 at 02:33:46 UTC by Angelo Salese
Fix compile
[src/mame/drivers]chihiro.c

trunk/src/mame/drivers/chihiro.c
r21578r21579
11241124   cg=pal4bit((a4r4g4b4 & 0x00f0) >> 4);//((a4r4g4b4 & 0xf0)*816)/3; // (((a4r4g4b4 & 0xf0) >> 4)*255)/15) << 8
11251125   cr=pal4bit((a4r4g4b4 & 0x0f00) >> 8);//(a4r4g4b4 & 0xf00)*17*256; // (((a4r4g4b4 & 0xf00) >> 8)*255)/15) << 16
11261126   ca=pal4bit((a4r4g4b4 & 0xf000) >> 12);//(a4r4g4b4 & 0xf000)*4096*17; //((a4r4g4b4 & 0xf000) >> 12)*255/15 << 24
1127   a8r8g8b8=(ca<<24)|(cr<<16)|(cg<<8)|(cr); // color converted to 8 bits per component
1127   a8r8g8b8=(ca<<24)|(cr<<16)|(cg<<8)|(cb); // color converted to 8 bits per component
11281128   return a8r8g8b8;
11291129}
11301130

Previous 199869 Revisions Next


© 1997-2024 The MAME Team