(MB): added 'XX' signature.

This commit is contained in:
morkt
2023-10-27 04:06:59 +04:00
parent 05ab3e2600
commit 849fb5508c

View File

@@ -45,7 +45,7 @@ namespace GameRes.Formats
{ {
int c1 = stream.ReadByte(); int c1 = stream.ReadByte();
int c2 = stream.ReadByte(); int c2 = stream.ReadByte();
// MB/MC/MK/CL // MB/MC/MK/CL/XX
switch (c1) switch (c1)
{ {
case 'M': case 'M':
@@ -56,6 +56,10 @@ namespace GameRes.Formats
if ('L' != c2) if ('L' != c2)
return null; return null;
break; break;
case 'X':
if ('X' != c2)
return null;
break;
default: default:
return null; return null;
} }