mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
Fix root dir name
This commit is contained in:
@@ -287,6 +287,8 @@ namespace GameRes.Formats.Malie
|
|||||||
int offset = LittleEndian.ToInt32 (m_index, current_offset+0x18);
|
int offset = LittleEndian.ToInt32 (m_index, current_offset+0x18);
|
||||||
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
|
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
|
||||||
current_offset += 0x20;
|
current_offset += 0x20;
|
||||||
|
if (name.StartsWith("/"))
|
||||||
|
name = name.Substring(1);
|
||||||
name = Path.Combine (root, name);
|
name = Path.Combine (root, name);
|
||||||
if (0 == (flags & 0x30000))
|
if (0 == (flags & 0x30000))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user