diff options
author | Max Horn | 2007-09-18 20:48:42 +0000 |
---|---|---|
committer | Max Horn | 2007-09-18 20:48:42 +0000 |
commit | 664446f5d82d9712cf91db78f629af6a8a3eb070 (patch) | |
tree | 0dda67ed26b939578c4d10b4c0244f98f7c0be51 /sound | |
parent | 90399fbf9cb99288f2bd2b7b9e7d3d39707a1609 (diff) | |
download | scummvm-rg350-664446f5d82d9712cf91db78f629af6a8a3eb070.tar.gz scummvm-rg350-664446f5d82d9712cf91db78f629af6a8a3eb070.tar.bz2 scummvm-rg350-664446f5d82d9712cf91db78f629af6a8a3eb070.zip |
Fixed some more warnings
svn-id: r28948
Diffstat (limited to 'sound')
-rw-r--r-- | sound/softsynth/mt32/structures.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sound/softsynth/mt32/structures.h b/sound/softsynth/mt32/structures.h index d231ccfb67..7c6e5f131d 100644 --- a/sound/softsynth/mt32/structures.h +++ b/sound/softsynth/mt32/structures.h @@ -142,24 +142,30 @@ struct MemParams { Bit8u outlevel; // OUTPUT LEVEL 0-100 Bit8u panpot; // PANPOT 0-14 (R-L) Bit8u dummyv[6]; - } MT32EMU_ALIGN_PACKED patchSettings[9]; + } MT32EMU_ALIGN_PACKED; + + PatchTemp patchSettings[9]; struct RhythmTemp { Bit8u timbre; // TIMBRE 0-94 (M1-M64,R1-30,OFF) Bit8u outlevel; // OUTPUT LEVEL 0-100 Bit8u panpot; // PANPOT 0-14 (R-L) Bit8u reverbSwitch; // REVERB SWITCH 0-1 (OFF,ON) - } MT32EMU_ALIGN_PACKED rhythmSettings[85]; + } MT32EMU_ALIGN_PACKED; + + RhythmTemp rhythmSettings[85]; - TimbreParam MT32EMU_ALIGN_PACKED timbreSettings[8]; + TimbreParam timbreSettings[8]; - PatchParam MT32EMU_ALIGN_PACKED patches[128]; + PatchParam patches[128]; // NOTE: There are only 30 timbres in the "rhythm" bank for MT-32; the additional 34 are for LAPC-I and above struct PaddedTimbre { TimbreParam timbre; Bit8u padding[10]; - } MT32EMU_ALIGN_PACKED timbres[64 + 64 + 64 + 64]; // Group A, Group B, Memory, Rhythm + } MT32EMU_ALIGN_PACKED; + + PaddedTimbre timbres[64 + 64 + 64 + 64]; // Group A, Group B, Memory, Rhythm struct SystemArea { Bit8u masterTune; // MASTER TUNE 0-127 432.1-457.6Hz @@ -169,7 +175,9 @@ struct MemParams { Bit8u reserveSettings[9]; // PARTIAL RESERVE (PART 1) 0-32 Bit8u chanAssign[9]; // MIDI CHANNEL (PART1) 0-16 (1-16,OFF) Bit8u masterVol; // MASTER VOLUME 0-100 - } MT32EMU_ALIGN_PACKED system; + } MT32EMU_ALIGN_PACKED; + + SystemArea system; }; #if defined(_MSC_VER) || defined (__MINGW32__) |