File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ typedef struct _PSMSAMPLE
8484 BYTE reserved6[19 ];
8585} PSMSAMPLE;
8686
87+ #pragma pack()
88+
8789void swap_PSMSAMPLE (PSMSAMPLE* p){
8890 p->smpid = bswapLE32 (p->smpid );
8991 p->length = bswapLE32 (p->length );
@@ -92,8 +94,6 @@ void swap_PSMSAMPLE(PSMSAMPLE* p){
9294 p->samplerate = bswapLE32 (p->samplerate );
9395}
9496
95- #pragma pack()
96-
9797
9898BOOL CSoundFile::ReadPSM (LPCBYTE lpStream, DWORD dwMemLength)
9999// -----------------------------------------------------------
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ typedef struct tagS3MFILEHEADER
6363 WORD special;
6464 BYTE channels[32 ];
6565} S3MFILEHEADER;
66-
66+ # pragma pack()
6767
6868void CSoundFile::S3MConvert (MODCOMMAND *m, BOOL bIT) const
6969// --------------------------------------------------------
You can’t perform that action at this time.
0 commit comments