mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 17:15:40 +00:00
CPU/CodeCache: Fix crash when BIOS is missing
This commit is contained in:
parent
610cc74cb9
commit
d5a5432a8b
|
@ -21,6 +21,7 @@ CodeCache::CodeCache() = default;
|
||||||
|
|
||||||
CodeCache::~CodeCache()
|
CodeCache::~CodeCache()
|
||||||
{
|
{
|
||||||
|
if (m_system)
|
||||||
Flush();
|
Flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue