mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 10:25:40 +00:00
Support for loading MP2/MP3/DKCR tweaks
This commit is contained in:
@@ -562,7 +562,7 @@ void CTextureDecoder::ReadPixelC8(IInputStream& rSrc, IOutputStream& rDst)
|
||||
((Index >> 2) & 0x1) ? G = 0xFF : G = 0x0;
|
||||
((Index >> 1) & 0x1) ? B = 0xFF : B = 0x0;
|
||||
((Index >> 0) & 0x1) ? A = 0xFF : A = 0x0;
|
||||
u32 RGBA = (R << 24) | (G << 16) | (B << 8) | (A);
|
||||
uint32 RGBA = (R << 24) | (G << 16) | (B << 8) | (A);
|
||||
dst.WriteLong(RGBA);*/
|
||||
|
||||
mPaletteInput.Seek(Index * 2, SEEK_SET);
|
||||
|
||||
Reference in New Issue
Block a user