Fix indentation in snd_sb_dsp.c
This commit is contained in:
@@ -812,8 +812,7 @@ sb_exec_command(sb_dsp_t *dsp)
|
||||
}
|
||||
break;
|
||||
case 0xFA:
|
||||
if(dsp->sb_type >= SB16)
|
||||
{
|
||||
if (dsp->sb_type >= SB16) {
|
||||
dsp->sb_8051_ram[dsp->sb_data[0]] = dsp->sb_data[1];
|
||||
}
|
||||
break;
|
||||
@@ -847,10 +846,10 @@ sb_exec_command(sb_dsp_t *dsp)
|
||||
* 0FDh DSP Command Status SB16
|
||||
*/
|
||||
}
|
||||
if(dsp->sb_type >= SB16)
|
||||
{
|
||||
//Update 8051 ram with the last DSP command.
|
||||
//See https://github.com/joncampbell123/dosbox-x/issues/1044
|
||||
|
||||
if (dsp->sb_type >= SB16) {
|
||||
/* Update 8051 ram with the last DSP command.
|
||||
See https://github.com/joncampbell123/dosbox-x/issues/1044 */
|
||||
dsp->sb_8051_ram[0x30] = dsp->sb_command;
|
||||
}
|
||||
}
|
||||
@@ -1066,7 +1065,7 @@ sb_dsp_init(sb_dsp_t *dsp, int type, int subtype, void *parent)
|
||||
recalc_sb16_filter(0, 3200*2);
|
||||
recalc_sb16_filter(1, 44100);
|
||||
|
||||
// Initialize SB16 8051 RAM
|
||||
/* Initialize SB16 8051 RAM */
|
||||
memset(dsp->sb_8051_ram, 0, 256);
|
||||
dsp->sb_8051_ram[0x0e] = 0xff;
|
||||
dsp->sb_8051_ram[0x0f] = 0x07;
|
||||
|
||||
Reference in New Issue
Block a user