Core: Convert logging over to fmt pt.5
Converts the remaining PowerPC code over to fmt-capable logging. Now, all that's left to convert over are the lingering remnants within the frontend code.
This commit is contained in:
1 parent
e2a019ae9a
commit
ef75e9acd8
29 files changed
+256
-256
No files matched your search
@@ -69,9 +69,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;
|
||||
}
|
||||
@@ -100,7 +100,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;
|
||||
}
|
||||
fprintf(f.GetHandle(), "origAddr\tblkName\trunCount\tcost\ttimeCost\tpercent\ttimePercent\tOvAlli"
|
||||
|
||||
Reference in new issue
Block a user