ncannasse 12 năm trước cách đây
mục cha
commit
3d3bd6ceee
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      hxd/res/EmbedFileSystem.hx

+ 1 - 0
hxd/res/EmbedFileSystem.hx

@@ -25,6 +25,7 @@ private class EmbedEntry extends FileEntry {
 		#if flash
 		#if flash
 		var old = bytes == null ? 0 : bytes.position;
 		var old = bytes == null ? 0 : bytes.position;
 		open();
 		open();
+		bytes.endian = flash.utils.Endian.LITTLE_ENDIAN;
 		var v = bytes.readUnsignedInt();
 		var v = bytes.readUnsignedInt();
 		bytes.position = old;
 		bytes.position = old;
 		return v;
 		return v;