[Scummvm-cvs-logs] SF.net SVN: scummvm: [28999] scummvm/branches/branch-0-10-0/sound/softsynth /mt32/structures.h
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Fri Sep 21 03:28:07 CEST 2007
Revision: 28999
http://scummvm.svn.sourceforge.net/scummvm/?rev=28999&view=rev
Author: Kirben
Date: 2007-09-20 18:28:06 -0700 (Thu, 20 Sep 2007)
Log Message:
-----------
Back port fixes for compile warnings.
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/sound/softsynth/mt32/structures.h
Modified: scummvm/branches/branch-0-10-0/sound/softsynth/mt32/structures.h
===================================================================
--- scummvm/branches/branch-0-10-0/sound/softsynth/mt32/structures.h 2007-09-21 01:23:50 UTC (rev 28998)
+++ scummvm/branches/branch-0-10-0/sound/softsynth/mt32/structures.h 2007-09-21 01:28:06 UTC (rev 28999)
@@ -142,24 +142,30 @@
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 @@
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__)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list