Fix SPRX loader crash

This commit is contained in:
Nekotekina 2019-08-27 13:57:27 +03:00
parent 796a6646f7
commit ede816387f
1 changed files with 2 additions and 1 deletions

View File

@ -545,7 +545,8 @@ std::string Emulator::PPUCache() const
if (!_main || _main->cache.empty()) if (!_main || _main->cache.empty())
{ {
fmt::throw_exception("PPU Cache location not initialized."); LOG_WARNING(PPU, "PPU Cache location not initialized.");
return {};
} }
return _main->cache; return _main->cache;