WiiSave: Fix typo

This commit is contained in:
Léo Lam 2018-05-21 16:41:05 +02:00
parent af97df74e1
commit cb850707c0
1 changed files with 1 additions and 1 deletions

View File

@ -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),