MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / IA4

Function IA4

Source/HLEGraphics/ConvertTile.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121static u32 IA4(u8 v)
122{
123 u32 i {ThreeToEight[(v & 0x0f) >> 1]};
124 u32 a {OneToEight[(v & 0x01)]};
125
126 return (a<<24) | (i<<16) | (i<<8) | i;
127}
128
129static void ConvertRGBA32(const TileDestInfo & dsti, const TextureInfo & ti)
130{

Callers 1

ConvertIA4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected