ncannasse 12 years ago
parent
commit
3d3bd6ceee
1 changed files with 1 additions and 0 deletions
  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;