Ugh -- these internal iMuse structs were supposed to be packed, but never were explicitly markes as such. Doing that now (might break old savegames on some ports :/)

svn-id: r25629
This commit is contained in:
Max Horn 2007-02-16 12:34:30 +00:00
parent b8bd502c57
commit 96162c14ea

View File

@ -144,6 +144,9 @@ public:
class Instrument_Adlib : public InstrumentInternal {
private:
#include "common/pack-start.h" // START STRUCT PACKING
struct {
byte flags_1;
byte oplvl_1;
@ -163,6 +166,8 @@ private:
byte duration;
} _instrument;
#include "common/pack-end.h" // END STRUCT PACKING
public:
Instrument_Adlib(const byte *data);
Instrument_Adlib(Serializer *s);
@ -174,6 +179,9 @@ public:
class Instrument_Roland : public InstrumentInternal {
private:
#include "common/pack-start.h" // START STRUCT PACKING
struct RolandInstrument {
byte roland_id;
byte device_id;
@ -231,7 +239,10 @@ private:
byte tva_env_sustain_level;
} partial[4];
byte checksum;
} GNUPACK;
};
#include "common/pack-end.h" // END STRUCT PACKING
RolandInstrument _instrument;
char _instrument_name [11];