SSI263: avoid assertion in DSVoiceStop when running with -no-mb.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
9b0813b1f1
commit
c8921e03c9
|
@ -323,6 +323,11 @@ void SSI263::Votrax_Write(BYTE value)
|
|||
|
||||
void SSI263::Play(unsigned int nPhoneme)
|
||||
{
|
||||
if (!SSI263SingleVoice.lpDSBvoice)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!SSI263SingleVoice.bActive)
|
||||
{
|
||||
bool bRes = DSZeroVoiceBuffer(&SSI263SingleVoice, m_kDSBufferByteSize);
|
||||
|
|
Loading…
Reference in New Issue