RSP: Make sure m_SyncSystem is valid before checking m_SyncSystem->m_BaseSystem on shutdown

This commit is contained in:
zilmar 2024-09-26 06:50:48 +09:30
parent 7cb0c258a1
commit cd9fc5984a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ CRSPSystem::CRSPSystem() :
CRSPSystem::~CRSPSystem()
{
if (m_SyncSystem->m_BaseSystem != nullptr)
if (m_SyncSystem != nullptr && m_SyncSystem->m_BaseSystem != nullptr)
{
if (m_IMEM != nullptr)
{