From b88c7e6baa434dd340c0cc4b960e796bfdaa3f63 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon, 23 Oct 2023 22:48:42 -0700 Subject: [PATCH] fix warning from last commit --- src/BizHawk.Common/checksums/CRC32.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Common/checksums/CRC32.cs b/src/BizHawk.Common/checksums/CRC32.cs index 14756a8e2f..563d766a98 100644 --- a/src/BizHawk.Common/checksums/CRC32.cs +++ b/src/BizHawk.Common/checksums/CRC32.cs @@ -69,7 +69,7 @@ namespace BizHawk.Common { for (var i = 0; i < len; i++) { - current = CRC32Table[(current ^ ((byte*)buffer)[i]) & 0xFF] ^ (current >> 8); + current = CRC32Table![(current ^ ((byte*)buffer)[i]) & 0xFF] ^ (current >> 8); } return current;