mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
bunch of stuff.
This commit is contained in:
@@ -93,7 +93,7 @@ namespace GameRes.Formats.TechnoBrain
|
||||
if (0x20706D62 != file.ReadInt32()) // 'bmp '
|
||||
return false;
|
||||
int bmp_size = file.ReadInt32();
|
||||
if (bmp_size <= 0x20)
|
||||
if (bmp_size < 0x1C)
|
||||
return false;
|
||||
info.BmpOffset = file.Position + 0x18;
|
||||
info.Width = file.ReadUInt16();
|
||||
|
||||
Reference in New Issue
Block a user