Advertisement

file add-on issue when reading little endian integers

Started by September 23, 2014 12:17 PM
2 comments, last by gjl 10 years, 1 month ago

Hi,

I think I have found an issue when reading little endian integers in the file add-on (readInt() method). The test for negative numbers reversal is the same as for the big endian mode, whereas I think it should test the last byte instead (see attached patch).

thanks. I'll look into it

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

I've fixed this in revision 2012.

Thanks,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Great, thanks!

This topic is closed to new replies.

Advertisement