Minor formatting cleanups

This commit is contained in:
RichardG867
2021-05-22 22:28:42 -03:00
parent c8c4aac167
commit 8b9b6c885d
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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;