[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.22,1.23
Nicolas Bacca
arisme at users.sourceforge.net
Tue Apr 30 17:14:03 CEST 2002
Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv28093/simon
Modified Files:
simon.cpp
Log Message:
Fixed packing for non GCC compilers - Loom & Zak work on WinCE now
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** simon.cpp 21 Apr 2002 12:51:13 -0000 1.22
--- simon.cpp 1 May 2002 00:13:03 -0000 1.23
***************
*** 8249,8252 ****
--- 8249,8256 ----
}
+ #if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+ #endif
+
struct WaveHeader {
uint32 riff;
***************
*** 8265,8268 ****
--- 8269,8277 ----
uint16 bits_per_sample;
} GCC_PACK;
+
+ #if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+ #endif
+
void SimonState::playVoice(uint voice) {
More information about the Scummvm-git-logs
mailing list