mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-08 16:29:39 +00:00
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)
|
void SSI263::Play(unsigned int nPhoneme)
|
||||||
{
|
{
|
||||||
|
if (!SSI263SingleVoice.lpDSBvoice)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!SSI263SingleVoice.bActive)
|
if (!SSI263SingleVoice.bActive)
|
||||||
{
|
{
|
||||||
bool bRes = DSZeroVoiceBuffer(&SSI263SingleVoice, m_kDSBufferByteSize);
|
bool bRes = DSZeroVoiceBuffer(&SSI263SingleVoice, m_kDSBufferByteSize);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user