diff --git a/src/sound/snd_sb.c b/src/sound/snd_sb.c index 9712f9cc6..aa00b33a4 100644 --- a/src/sound/snd_sb.c +++ b/src/sound/snd_sb.c @@ -1630,7 +1630,7 @@ sb_pro_cs423x_init(const device_t *info) sb_t *sb = malloc(sizeof(sb_t)); memset(sb, 0, sizeof(sb_t)); - sb->opl_enabled = 1; + sb->opl_enabled = 1; /* WSS can disable this to take ownership of the OPL */ opl3_init(&sb->opl); sb_dsp_init(&sb->dsp, SBPRO2, SB_SUBTYPE_DEFAULT, sb); diff --git a/src/sound/snd_wss.c b/src/sound/snd_wss.c index d77b781ea..80b27cf9d 100644 --- a/src/sound/snd_wss.c +++ b/src/sound/snd_wss.c @@ -89,7 +89,7 @@ wss_get_buffer(int32_t *buffer, int len, void *priv) ad1848_update(&wss->ad1848); for (c = 0; c < len * 2; c++) { buffer[c] += wss->opl.buffer[c]; - buffer[c] += (wss->ad1848.buffer[c] / 2); + buffer[c] += wss->ad1848.buffer[c] / 2; } wss->opl.pos = 0;