Merge pull request #6929 from leoetlino/fix

WiiSave: Fix typo
This commit is contained in:
Mat M 2018-05-21 10:54:58 -04:00 committed by GitHub
commit d82d9d1d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; m_header.hdr.md5 = s_md5_blanker;
Md5 md5_calc; Md5 md5_calc;
mbedtls_md5((u8*)&m_header, HEADER_SZ, md5_calc.data()); 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, 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), Common::swap64(md5_file.data()), Common::swap64(md5_file.data() + 8),