Fixed bug which was crashing emulator when loading/saving state of games that do not use the drive board

This commit is contained in:
Nik Henson 2011-09-10 21:00:33 +00:00
parent 0716285fc2
commit 5b5d24293f

View file

@ -155,7 +155,8 @@ void CDriveBoard::LoadState(CBlockFile *SaveState)
// Disable board if it was not attached // Disable board if it was not attached
m_tmpDisabled = true; m_tmpDisabled = true;
SendStopAll(); if (m_attached)
SendStopAll();
} }
bool CDriveBoard::Init(const UINT8 *romPtr) bool CDriveBoard::Init(const UINT8 *romPtr)