mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(CBM): tweaked palette lookup.
This commit is contained in:
parent
9bd7f743dd
commit
10edddea79
@ -80,8 +80,10 @@ namespace GameRes.Formats.KeroQ
|
||||
var base_name = Path.GetFileNameWithoutExtension (filename);
|
||||
yield return VFS.ChangeFileName (filename, base_name + ".pal");
|
||||
if (base_name.Length > 3)
|
||||
{
|
||||
base_name = base_name.Substring (0, 3);
|
||||
yield return VFS.ChangeFileName (filename, base_name + ".pal");
|
||||
}
|
||||
yield return VFS.ChangeFileName (filename, base_name + "_2.pal");
|
||||
yield return VFS.ChangeFileName (filename, base_name + "_1.pal");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user