mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
CPU/CodeCache: Fix crash when BIOS is missing
This commit is contained in:
parent
610cc74cb9
commit
d5a5432a8b
|
@ -21,7 +21,8 @@ CodeCache::CodeCache() = default;
|
|||
|
||||
CodeCache::~CodeCache()
|
||||
{
|
||||
Flush();
|
||||
if (m_system)
|
||||
Flush();
|
||||
}
|
||||
|
||||
void CodeCache::Initialize(System* system, Core* core, Bus* bus, bool use_recompiler)
|
||||
|
|
Loading…
Reference in a new issue