From cb850707c018f16b4e9cc1002d8247ce83343403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 21 May 2018 16:41:05 +0200 Subject: [PATCH] WiiSave: Fix typo --- Source/Core/Core/HW/WiiSave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/WiiSave.cpp b/Source/Core/Core/HW/WiiSave.cpp index 89eab9202f..88f4a8aa0c 100644 --- a/Source/Core/Core/HW/WiiSave.cpp +++ b/Source/Core/Core/HW/WiiSave.cpp @@ -134,7 +134,7 @@ void WiiSave::ReadHDR() m_header.hdr.md5 = s_md5_blanker; Md5 md5_calc; mbedtls_md5((u8*)&m_header, HEADER_SZ, md5_calc.data()); - if (md5_file == md5_calc) + if (md5_file != md5_calc) { ERROR_LOG(CONSOLE, "MD5 mismatch\n %016" PRIx64 "%016" PRIx64 " != %016" PRIx64 "%016" PRIx64, Common::swap64(md5_file.data()), Common::swap64(md5_file.data() + 8),