mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(MBL): don't restrict scripts post-processing to '.s' extension.
This commit is contained in:
@@ -166,7 +166,7 @@ namespace GameRes.Formats.Marble
|
|||||||
|
|
||||||
public override Stream OpenEntry (ArcFile arc, Entry entry)
|
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);
|
return arc.File.CreateStream (entry.Offset, entry.Size);
|
||||||
var marc = arc as MblArchive;
|
var marc = arc as MblArchive;
|
||||||
var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);
|
var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);
|
||||||
|
|||||||
Reference in New Issue
Block a user