diff --git a/Utilities/Log.h b/Utilities/Log.h index 90078d96ee..2fde92ee46 100644 --- a/Utilities/Log.h +++ b/Utilities/Log.h @@ -135,8 +135,8 @@ inline void log_message(Log::LogType type, Log::LogSeverity sev, const char* tex Log::LogManager::getInstance().log(msg); } -template -inline void log_message(Log::LogType type, Log::LogSeverity sev, const char(&text)[N], T arg, Ts... args) +template +inline void log_message(Log::LogType type, Log::LogSeverity sev, const char* text, T arg, Ts... args) { Log::LogMessage msg{type, sev, fmt::format(text, arg, args...)}; Log::LogManager::getInstance().log(msg); diff --git a/rpcs3/Crypto/unedat.cpp b/rpcs3/Crypto/unedat.cpp index 27ddbffb6a..a78a76497a 100644 --- a/rpcs3/Crypto/unedat.cpp +++ b/rpcs3/Crypto/unedat.cpp @@ -288,7 +288,7 @@ int decrypt_data(rFile *in, rFile *out, EDAT_HEADER *edat, NPD_HEADER *npd, unsi if (!decrypt(hash_mode, crypto_mode, (npd->version == 4), enc_data, dec_data, length, key_result, iv, hash, hash_result)) { if (verbose) - LOG_WARNING(LOADER, "EDAT: Block at offset 0x%llx has invalid hash!", offset); + LOG_WARNING(LOADER, "EDAT: Block at offset 0x%llx has invalid hash!", (u64)offset); return 1; }