@@ -328,7 +328,7 @@ ReturnCode IOSC::VerifyPublicKeySign(const std::array<u8, 20>& sha1, Handle sign
MBEDTLS_MD_SHA1, 0, sha1.data(), signature.data());
if (ret != 0)
{
WARN_LOG(IOS, "VerifyPublicKeySign: RSA verification failed (error %d)", ret);
WARN_LOG_FMT(IOS, "VerifyPublicKeySign: RSA verification failed (error {})", ret);
return IOSC_FAIL_CHECKVALUE;
}

@@ -561,14 +561,14 @@ void IOSC::LoadEntries()
File::IOFile file{File::GetUserPath(D_WIIROOT_IDX) + "/keys.bin", "rb"};
if (!file)
{
WARN_LOG(IOS, "keys.bin could not be found. Default values will be used.");
WARN_LOG_FMT(IOS, "keys.bin could not be found. Default values will be used.");
return;
}

BootMiiKeyDump dump;
if (!file.ReadBytes(&dump, sizeof(dump)))
{
ERROR_LOG(IOS, "Failed to read from keys.bin.");
ERROR_LOG_FMT(IOS, "Failed to read from keys.bin.");
return;
}

@@ -55,7 +55,7 @@ bool Load()
Memory::Write_U32(0x09142001, 0x3180);

ReinitHardware();
NOTICE_LOG(IOS, "Reinitialised hardware.");
NOTICE_LOG_FMT(IOS, "Reinitialised hardware.");

// Load symbols for the IPL if they exist.
if (!g_symbolDB.IsEmpty())
@@ -74,7 +74,7 @@ bool Load()
PowerPC::SetMode(PowerPC::CoreMode::Interpreter);
MSR.Hex = 0;
PC = 0x3400;
NOTICE_LOG(IOS, "Loaded MIOS and bootstrapped PPC.");
NOTICE_LOG_FMT(IOS, "Loaded MIOS and bootstrapped PPC.");

// IOS writes 0 to 0x30f8 before bootstrapping the PPC. Once started, the IPL eventually writes
// 0xdeadbeef there, then waits for it to be cleared by IOS before continuing.
@@ -83,7 +83,7 @@ bool Load()
PowerPC::SetMode(core_mode);

Memory::Write_U32(0x00000000, ADDRESS_INIT_SEMAPHORE);
NOTICE_LOG(IOS, "IPL ready.");
NOTICE_LOG_FMT(IOS, "IPL ready.");
SConfig::GetInstance().m_is_mios = true;
DVDInterface::UpdateRunningGameMetadata();
return true;