CPU/CodeCache: Fix crash when BIOS is missing

This commit is contained in:
Connor McLaughlin committed 2020-04-19 16:03:35 +10:00
1 parent 610cc74cb9
commit d5a5432a8b
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@ CodeCache::CodeCache() = default;
CodeCache::~CodeCache() CodeCache::~CodeCache()
{ {
if (m_system)
Flush(); Flush();
} }