mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-17 00:16:20 +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++;
|
||||||
}
|
crc = (crc >> 8) ^ defaultTable[(crc & 0xFF) ^ buffer[i++]];// i++;
|
||||||
|
//}
|
||||||
|
|
||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user