|
|
@ -530,7 +530,9 @@ namespace Hack.Xenosaga.Process |
|
|
|
{ |
|
|
|
bw.Write(IntToByteArrayBE(attribut.Value.attribute_name_index, 2), 0, 2); |
|
|
|
bw.Write(IntToByteArrayBE((int)attribut.Value.attribute_length, 4), 0, 4); |
|
|
|
bw.Write(attribut.Value.info); |
|
|
|
|
|
|
|
if (attribut.Value.info != null) |
|
|
|
bw.Write(attribut.Value.info); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1745,8 +1747,8 @@ namespace Hack.Xenosaga.Process |
|
|
|
CONSTANT_Utf8_info stUTF8 = (CONSTANT_Utf8_info)constant_pool[id]; |
|
|
|
|
|
|
|
stUTF8.bytes = new byte[bytes.Length]; |
|
|
|
stUTF8.length = (short)(bytes.Length); |
|
|
|
Array.Copy(bytes, 0, stUTF8.bytes, 0, bytes.Length); |
|
|
|
//stUTF8.bytes[bytes.Length] = 0;
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|