mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
added broken implementation of ERI lossy images.
also reorganized Entis-related classes and enums. static math methods moved to separate static class.
This commit is contained in:
@@ -115,7 +115,7 @@ namespace GameRes.Formats.Entis
|
||||
var earc = (EriMultiImage)arc;
|
||||
var eent = (EriEntry)entry;
|
||||
var pixels = earc.GetFrame (eent.FrameIndex);
|
||||
if (32 == earc.Info.BPP && 0 == (earc.Info.FormatType & (int)EriImage.WithAlpha))
|
||||
if (32 == earc.Info.BPP && 0 == (earc.Info.FormatType & EriType.WithAlpha))
|
||||
{
|
||||
for (int p = 3; p < pixels.Length; p += 4)
|
||||
pixels[p] = 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user