mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
Fixed bug which was crashing emulator when loading/saving state of games that do not use the drive board
This commit is contained in:
parent
0716285fc2
commit
5b5d24293f
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue