Modernize PPU logging (ppu_log variable)

This commit is contained in:
Nekotekina 2020-02-01 11:31:27 +03:00
parent 21f7b0ff0f
commit 327bb2d8f0
11 changed files with 70 additions and 69 deletions

View file

@ -595,7 +595,7 @@ std::string Emulator::PPUCache() const
if (!_main || _main->cache.empty())
{
LOG_WARNING(PPU, "PPU Cache location not initialized.");
ppu_log.warning("PPU Cache location not initialized.");
return {};
}
@ -1754,7 +1754,7 @@ void Emulator::Resume()
}
}
LOG_NOTICE(PPU, "[RESUME] Dumping instruction stats:%s", dump);
ppu_log.notice("[RESUME] Dumping instruction stats:%s", dump);
}
// Try to resume