mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Fix a crash with Sound Blaster Pro v2
This commit is contained in:
@@ -314,7 +314,7 @@ sb_get_buffer_sbpro(int32_t *buffer, int len, void *p)
|
||||
|
||||
if (sb->opl_enabled) {
|
||||
sb->opl.reset_buffer(sb->opl.priv);
|
||||
if (sb->dsp.sb_type != SBPRO)
|
||||
if (sb->dsp.sb_type == SBPRO)
|
||||
sb->opl2.reset_buffer(sb->opl2.priv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user