mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-15 07:47:20 +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…
x
Reference in New Issue
Block a user