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