CPU/CodeCache: Fix crash when BIOS is missing

pull/474/head
Connor McLaughlin 6 years ago
parent 610cc74cb9
commit d5a5432a8b

@ -21,7 +21,8 @@ CodeCache::CodeCache() = default;
CodeCache::~CodeCache() CodeCache::~CodeCache()
{ {
Flush(); if (m_system)
Flush();
} }
void CodeCache::Initialize(System* system, Core* core, Bus* bus, bool use_recompiler) void CodeCache::Initialize(System* system, Core* core, Bus* bus, bool use_recompiler)

Loading…
Cancel
Save