file add-on issue when reading little endian integers

Started by
2 comments, last by gjl 9 years, 6 months 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).

Advertisement

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

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