Merge pull request #9282 from lioncash/core-log5

Core: Convert logging over to fmt pt.5
This commit is contained in:
Léo Lam
2020-11-26 02:06:41 +01:00
committed by GitHub
29 changed files with 256 additions and 256 deletions

View File

@ -71,9 +71,9 @@ CPUCoreBase* InitJitCore(PowerPC::CPUCore core)
break;
default:
PanicAlertT("The selected CPU emulation core (%d) is not available. "
"Please select a different CPU emulation core in the settings.",
static_cast<int>(core));
PanicAlertFmtT("The selected CPU emulation core ({0}) is not available. "
"Please select a different CPU emulation core in the settings.",
core);
g_jit = nullptr;
return nullptr;
}
@ -102,7 +102,7 @@ void WriteProfileResults(const std::string& filename)
File::IOFile f(filename, "w");
if (!f)
{
PanicAlert("Failed to open %s", filename.c_str());
PanicAlertFmt("Failed to open {}", filename);
return;
}
f.WriteString("origAddr\tblkName\trunCount\tcost\ttimeCost\tpercent\ttimePercent\tOvAllinBlkTime("