diff options
author | Torbjörn Andersson | 2010-10-12 04:19:58 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-10-12 04:19:58 +0000 |
commit | 54b2a8c98df204dfe64a27fc830936ec62e3f9ed (patch) | |
tree | 731b870d395e797886b9d184ff709782632cc1bd /sound/softsynth/opl/mame.cpp | |
parent | 8388e0dfea4ae0d80e51368acd12685c740c5bb5 (diff) | |
download | scummvm-rg350-54b2a8c98df204dfe64a27fc830936ec62e3f9ed.tar.gz scummvm-rg350-54b2a8c98df204dfe64a27fc830936ec62e3f9ed.tar.bz2 scummvm-rg350-54b2a8c98df204dfe64a27fc830936ec62e3f9ed.zip |
JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
Diffstat (limited to 'sound/softsynth/opl/mame.cpp')
-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; */ |