* Fix styling

This commit is contained in:
2015-05-18 20:24:56 -07:00
parent 423a9a37d2
commit 6ee11b9a08
160 changed files with 11539 additions and 7742 deletions

View File

@@ -41,14 +41,14 @@ atUint16 MCFileWriter::calculateSlotChecksum(atUint32 game)
first = (first + second) & 0xFFFF;
atUint16 result = first << 16;
second = ~first&0xFFFF;
second = ~first & 0xFFFF;
second += 1;
result += second;
return result;
}
atUint16 MCFileWriter::calculateChecksum(atUint8 *data, atUint32 length)
atUint16 MCFileWriter::calculateChecksum(atUint8* data, atUint32 length)
{
atUint16 sum = 0;
int i = length;