mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
Fix root dir name
This commit is contained in:
parent
5c1b07f27a
commit
c5b5e97938
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user