Advertisement

as_restore.cpp bug report

Started by May 16, 2010 01:42 AM
0 comments, last by WitchLord 14 years, 9 months ago
revision : r589 Not work on Big Endian Environment(L1398,L1410,L1451,L1473,L1488)

// src
asWORD w = (asWORD)(tmp[0]>>16);
// fixed
asWORD w = *(((asWORD*)tmp)+1);



Not work on Big Endian Environment(L1587,L1600,L1637,L1661,L1678,L1727)

// src
*bc += asDWORD(w)<<16;
// fixed
*(((asWORD*)bc)+1) = w;



miss spell(L1497)

// src
asDWORD dw = tmp[2];
WRITE_NUM(w);
// fixed
asDWORD dw = tmp[2];
WRITE_NUM(dw);



miss spell(L1642,L1666,L1683)

// src
*(WORD*)bc = w;
// fixed
*(asWORD*)bc = w;



miss spell(L1646)

// src
*(((WORD*)bc)+1) = w;
// fixed
*(((asWORD*)bc)+1) = w;



[Edited by - hoboaki on May 16, 2010 3:09:30 AM]
Thanks a lot for the input. I'll try to have this fixed as soon as possible.

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

This topic is closed to new replies.

Advertisement