We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e229e05 commit d568614Copy full SHA for d568614
src/load_psm.cpp
@@ -84,6 +84,8 @@ typedef struct _PSMSAMPLE
84
BYTE reserved6[19];
85
} PSMSAMPLE;
86
87
+#pragma pack()
88
+
89
void swap_PSMSAMPLE(PSMSAMPLE* p){
90
p->smpid = bswapLE32(p->smpid);
91
p->length = bswapLE32(p->length);
@@ -92,8 +94,6 @@ void swap_PSMSAMPLE(PSMSAMPLE* p){
92
94
p->samplerate = bswapLE32(p->samplerate);
93
95
}
96
-#pragma pack()
-
97
98
BOOL CSoundFile::ReadPSM(LPCBYTE lpStream, DWORD dwMemLength)
99
//-----------------------------------------------------------
0 commit comments