Minor formatting cleanups
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user