mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(MBL): don't restrict scripts post-processing to '.s' extension.
This commit is contained in:
parent
983d49346e
commit
e2a0d76b65
@ -166,7 +166,7 @@ namespace GameRes.Formats.Marble
|
||||
|
||||
public override Stream OpenEntry (ArcFile arc, Entry entry)
|
||||
{
|
||||
if (entry.Type != "script" || !entry.Name.EndsWith (".s"))
|
||||
if (entry.Type != "script")
|
||||
return arc.File.CreateStream (entry.Offset, entry.Size);
|
||||
var marc = arc as MblArchive;
|
||||
var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);
|
||||
|
Loading…
Reference in New Issue
Block a user