mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(MblOpener): use ImageFormat.FindByTag shortcut.
This commit is contained in:
parent
9520f312b7
commit
87dd1792ce
@ -81,7 +81,7 @@ namespace GameRes.Formats.Marble
|
||||
return arc;
|
||||
}
|
||||
|
||||
static readonly Lazy<ImageFormat> PrsFormat = new Lazy<ImageFormat> (() => FormatCatalog.Instance.ImageFormats.FirstOrDefault (x => x.Tag == "PRS"));
|
||||
static readonly Lazy<ImageFormat> PrsFormat = new Lazy<ImageFormat> (() => ImageFormat.FindByTag ("PRS"));
|
||||
|
||||
private ArcFile ReadIndex (ArcView file, int count, uint filename_len, uint index_offset)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user