mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(CSystem): adjusted entry types.
This commit is contained in:
parent
ae7630b5be
commit
3ba80b18ee
@ -677,12 +677,12 @@ namespace GameRes.Formats.Cyberworks
|
|||||||
ext = new string (m_type);
|
ext = new string (m_type);
|
||||||
else
|
else
|
||||||
ext = new string (m_type[0], 1);
|
ext = new string (m_type[0], 1);
|
||||||
if ("b0" == ext || "n0" == ext || "o0" == ext || "0b" == ext)
|
if ("b0" == ext || "n0" == ext || "o0" == ext || "0b" == ext || "b" == ext)
|
||||||
{
|
{
|
||||||
entry.Type = "image";
|
entry.Type = "image";
|
||||||
HasImages = true;
|
HasImages = true;
|
||||||
}
|
}
|
||||||
else if ("j0" == ext || "k0" == ext || "u0" == ext)
|
else if ("j0" == ext || "k0" == ext || "u0" == ext || "j" == ext || "k" == ext)
|
||||||
entry.Type = "audio";
|
entry.Type = "audio";
|
||||||
entry.Name = Path.ChangeExtension (entry.Name, ext);
|
entry.Name = Path.ChangeExtension (entry.Name, ext);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user