aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Lange2009-08-05 18:13:42 +0000
committerNorbert Lange2009-08-05 18:13:42 +0000
commit55a24eacd5f4481d6768ae5e0f2a5758e4292706 (patch)
tree4f89e7172f83ec0e16a5f81d5aa41ee7827e09a1
parent29e4755f2ab1c16401a1dda90139464a81aadfd3 (diff)
downloadscummvm-rg350-55a24eacd5f4481d6768ae5e0f2a5758e4292706.tar.gz
scummvm-rg350-55a24eacd5f4481d6768ae5e0f2a5758e4292706.tar.bz2
scummvm-rg350-55a24eacd5f4481d6768ae5e0f2a5758e4292706.zip
fixed wrong indentation
moved notetable to static scope svn-id: r43074
-rw-r--r--sound/mods/tfmx.cpp8
-rw-r--r--sound/mods/tfmx.h1
2 files changed, 4 insertions, 5 deletions
diff --git a/sound/mods/tfmx.cpp b/sound/mods/tfmx.cpp
index b26d3ab27b..0fd9de0d54 100644
--- a/sound/mods/tfmx.cpp
+++ b/sound/mods/tfmx.cpp
@@ -38,17 +38,17 @@
namespace {
void displayPatternstep(const void *const vptr);
void displayMacroStep(const void *const vptr);
-}
-
-namespace Audio {
-const uint16 Tfmx::noteIntervalls[64] = {
+ const uint16 noteIntervalls[64] = {
1710, 1614, 1524, 1438, 1357, 1281, 1209, 1141, 1077, 1017, 960, 908,
856, 810, 764, 720, 680, 642, 606, 571, 539, 509, 480, 454,
428, 404, 381, 360, 340, 320, 303, 286, 270, 254, 240, 227,
214, 202, 191, 180, 170, 160, 151, 143, 135, 127, 120, 113,
214, 202, 191, 180, 170, 160, 151, 143, 135, 127, 120, 113,
214, 202, 191, 180 };
+}
+
+namespace Audio {
Tfmx::Tfmx(int rate, bool stereo)
: Paula(stereo, rate),
diff --git a/sound/mods/tfmx.h b/sound/mods/tfmx.h
index 5e6550282f..8ac4b4136a 100644
--- a/sound/mods/tfmx.h
+++ b/sound/mods/tfmx.h
@@ -83,7 +83,6 @@ protected:
private:
enum { kPalDefaultCiaVal = 11822, kNtscDefaultCiaVal = 14320, kCiaBaseInterval = 0x1B51F8 };
enum { kNumVoices = 4, kNumChannels = 8, kNumSubsongs = 32, kMaxPatternOffsets = 128, kMaxMacroOffsets = 128 };
- static const uint16 noteIntervalls[64];
struct MdatResource {
const byte *mdatAlloc; //!< allocated Block of Memory