mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(MI4): switched default version.
This commit is contained in:
parent
d972b02170
commit
220dda4b07
@ -55,11 +55,11 @@ namespace GameRes.Formats.ShiinaRio
|
|||||||
var reader = new Reader (stream, (int)info.Width, (int)info.Height);
|
var reader = new Reader (stream, (int)info.Width, (int)info.Height);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
reader.Unpack (MaiVersion.First);
|
reader.Unpack (MaiVersion.Second);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
reader.Unpack (MaiVersion.Second);
|
reader.Unpack (MaiVersion.First);
|
||||||
}
|
}
|
||||||
return ImageData.Create (info, PixelFormats.Bgr24, null, reader.Data, reader.Stride);
|
return ImageData.Create (info, PixelFormats.Bgr24, null, reader.Data, reader.Stride);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user