mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 09:19:18 +01:00
Removed another loop for known array size in CRC32 method
This commit is contained in:
parent
a8b6213c0c
commit
f5f6002cdc
@ -361,10 +361,11 @@ namespace DS4Windows
|
||||
*/
|
||||
|
||||
|
||||
while (--bufsize >= 0)
|
||||
{
|
||||
//while (--bufsize >= 0)
|
||||
//{
|
||||
crc = (crc >> 8) ^ defaultTable[(crc & 0xFF) ^ buffer[i++]];// i++;
|
||||
}
|
||||
crc = (crc >> 8) ^ defaultTable[(crc & 0xFF) ^ buffer[i++]];// i++;
|
||||
//}
|
||||
|
||||
return crc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user