aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-29 23:51:43 +0000
committerJohannes Schickel2006-07-29 23:51:43 +0000
commit8d453f22670126c72e61c49e2187d3b01bd5baa4 (patch)
tree11a74ae5912c1fef6faa064959e5781745d4af03 /sound/fmopl.cpp
parent43fbc9eb816417134fb775631a67c9cd61226a38 (diff)
downloadscummvm-rg350-8d453f22670126c72e61c49e2187d3b01bd5baa4.tar.gz
scummvm-rg350-8d453f22670126c72e61c49e2187d3b01bd5baa4.tar.bz2
scummvm-rg350-8d453f22670126c72e61c49e2187d3b01bd5baa4.zip
Another little formatting and a typo fix.
svn-id: r23621
Diffstat (limited to 'sound/fmopl.cpp')
-rw-r--r--sound/fmopl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 3161e6cc01..d5a9055d66 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -99,8 +99,7 @@ int EG_AED;
#define ENV_MOD_AR 0x02
/* -------------------- tables --------------------- */
-static const int slot_array[32]=
-{
+static const int slot_array[32] = {
0, 2, 4, 1, 3, 5,-1,-1,
6, 8,10, 7, 9,11,-1,-1,
12,14,16,13,15,17,-1,-1,
@@ -152,7 +151,7 @@ static const double KSL_TABLE_SEED[8 * 16] = {
19.875, 20.250, 20.625, 21.000
};
-/* sustain lebel table (3db per step) */
+/* sustain level table (3db per step) */
/* 0 - 15: 0, 3, 6, 9,12,15,18,21,24,27,30,33,36,39,42,93 (dB)*/
static int SL_TABLE[16];