[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.9,1.10 stdafx.h,1.2,1.3 system.h,1.8,1.9

Nicolas Bacca arisme at users.sourceforge.net
Tue Nov 19 00:06:03 CET 2002


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv23880

Modified Files:
	scummsys.h stdafx.h system.h 
Log Message:
Small Windows CE changes : detect old WinCE as NONSTANDARD_PORT, change __cdecl for these systems, add 2 sampling rates for WinCE due to problems with Smush mixer in 11 kHz

Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- scummsys.h	14 Nov 2002 15:00:52 -0000	1.9
+++ scummsys.h	19 Nov 2002 08:05:45 -0000	1.10
@@ -68,6 +68,12 @@
   #define END_PACK_STRUCTS   pack(pop)
   #define GCC_PACK
 
+#if defined(_WIN32_WCE) && _WIN32_WCE < 300
+
+  #define CDECL __cdecl
+
+#endif
+
 #elif defined(__MINGW32__)
   
   #define scumm_stricmp stricmp

Index: stdafx.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/stdafx.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- stdafx.h	22 Sep 2002 11:37:53 -0000	1.2
+++ stdafx.h	19 Nov 2002 08:05:46 -0000	1.3
@@ -2,6 +2,9 @@
  * $Id$
  *
  * $Log$
+ * Revision 1.3  2002/11/19 08:05:46  arisme
+ * Small Windows CE changes : detect old WinCE as NONSTANDARD_PORT, change __cdecl for these systems, add 2 sampling rates for WinCE due to problems with Smush mixer in 11 kHz
+ *
  * Revision 1.2  2002/09/22 11:37:53  kirben
  *
  * Remove mention of Windows GDI build
@@ -58,6 +61,12 @@
 
 #ifndef _STDAFX_H
 #define _STDAFX_H
+
+#if defined(_WIN32_WCE) && _WIN32_WCE < 300
+
+#define NONSTANDARD_PORT
+
+#endif
 
 #if defined(NONSTANDARD_PORT)
 

Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- system.h	16 Oct 2002 20:32:10 -0000	1.8
+++ system.h	19 Nov 2002 08:05:48 -0000	1.9
@@ -208,7 +208,8 @@
 
 enum {
 #ifdef _WIN32_WCE
-	SAMPLES_PER_SEC =  11025
+	SAMPLES_PER_SEC_OLD =  11025,
+	SAMPLES_PER_SEC_NEW =  22050
 #else
 	SAMPLES_PER_SEC =  22050
 #endif





More information about the Scummvm-git-logs mailing list