ncannasse 12 年之前
父節點
當前提交
3d3bd6ceee
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hxd/res/EmbedFileSystem.hx

+ 1 - 0
hxd/res/EmbedFileSystem.hx

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