mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(MpxOpener): assign "image" type to "*.bin" entries.
This commit is contained in:
parent
7ea8fe53bc
commit
25673f65b2
@ -2,7 +2,7 @@
|
||||
//! \date Thu Aug 21 06:11:09 2014
|
||||
//! \brief Digital Romance System archive implementation.
|
||||
//
|
||||
// Copyright (C) 2014 by morkt
|
||||
// Copyright (C) 2014-2016 by morkt
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to
|
||||
@ -160,6 +160,8 @@ namespace GameRes.Formats.Ikura
|
||||
entry = new Entry { Name = name, Type = "script" };
|
||||
has_scripts = true;
|
||||
}
|
||||
else if (name.EndsWith (".bin"))
|
||||
entry = new ImageEntry { Name = name };
|
||||
else
|
||||
entry = FormatCatalog.Instance.Create<Entry> (name);
|
||||
entry.Offset = file.View.ReadUInt32 (dir_offset+12);
|
||||
|
Loading…
x
Reference in New Issue
Block a user