CPU/CodeCache: Fix crash when BIOS is missing

This commit is contained in:
Connor McLaughlin 2020-04-19 16:03:31 +10:00
parent 610cc74cb9
commit d5a5432a8b

View file

@ -21,6 +21,7 @@ CodeCache::CodeCache() = default;
CodeCache::~CodeCache() CodeCache::~CodeCache()
{ {
if (m_system)
Flush(); Flush();
} }