コード例 #1
0
 // Checksums
 protected override void setChecksums()
 {
     for (int i = 0; i < 14; i++)
     {
         byte[] chunk = Data.Skip(ABO + i * 0x1000).Take(chunkLength[BlockOrder[i]]).ToArray();
         ushort chk   = SaveUtil.check32(chunk);
         BitConverter.GetBytes(chk).CopyTo(Data, ABO + i * 0x1000 + 0xFF6);
     }
 }