2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:44:56 +00:00

Massive fmtlib refactor

This commit is contained in:
Jack Andersen
2019-07-19 18:27:21 -10:00
parent e38a3ece89
commit 7a3da1f7a6
228 changed files with 2071 additions and 2116 deletions

View File

@@ -183,7 +183,7 @@ static logvisor::Module Log("CNESEmulator");
CNESEmulator::CNESEmulator() {
if (EmulatorConstructed)
Log.report(logvisor::Fatal, "Attempted constructing more than 1 CNESEmulator");
Log.report(logvisor::Fatal, fmt("Attempted constructing more than 1 CNESEmulator"));
EmulatorConstructed = true;
CDvdFile NESEmuFile("NESemuP.rel");
@@ -191,7 +191,7 @@ CNESEmulator::CNESEmulator() {
m_nesEmuPBuf.reset(new u8[0x20000]);
m_dvdReq = NESEmuFile.AsyncSeekRead(m_nesEmuPBuf.get(), 0x20000, ESeekOrigin::Begin, NESEMUP_ROM_OFFSET);
} else {
Log.report(logvisor::Fatal, "Unable to open NESemuP.rel");
Log.report(logvisor::Fatal, fmt("Unable to open NESemuP.rel"));
}
}