diff options
Diffstat (limited to 'sound/softsynth')
-rw-r--r-- | sound/softsynth/opl/mame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/softsynth/opl/mame.cpp b/sound/softsynth/opl/mame.cpp index f6da659918..c875080e8f 100644 --- a/sound/softsynth/opl/mame.cpp +++ b/sound/softsynth/opl/mame.cpp @@ -694,7 +694,7 @@ static int OPLOpenTable(void) { return 0; } /* make total level table */ - for (t = 0; t < EG_ENT - 1 ; t++) { + for (t = 0; t < EG_ENT - 1; t++) { rate = ((1 << TL_BITS) - 1) / pow(10.0, EG_STEP * t / 20); /* dB -> voltage */ TL_TABLE[ t] = (int)rate; TL_TABLE[TL_MAX + t] = -TL_TABLE[t]; @@ -1082,10 +1082,10 @@ void OPLResetChip(FM_OPL *OPL) { for (i = 0xff; i >= 0x20; i--) OPLWriteReg(OPL,i,0); /* reset OPerator parameter */ - for (c = 0; c < OPL->max_ch ;c++ ) { + for (c = 0; c < OPL->max_ch; c++) { OPL_CH *CH = &OPL->P_CH[c]; /* OPL->P_CH[c].PAN = OPN_CENTER; */ - for (s = 0; s < 2; s++ ) { + for (s = 0; s < 2; s++) { /* wave table */ CH->SLOT[s].wavetable = &SIN_TABLE[0]; /* CH->SLOT[s].evm = ENV_MOD_RR; */ |