mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
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
svn-id: r5604
This commit is contained in:
parent
1a97719ae5
commit
80d32ec5e1
@ -68,6 +68,12 @@ const bool true(1), false(0);
|
||||
#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
|
||||
|
@ -2,7 +2,11 @@
|
||||
* $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
|
||||
*
|
||||
* Revision 1.1.1.1 2002/08/21 16:07:23 fingolfin
|
||||
@ -58,6 +62,12 @@
|
||||
#ifndef _STDAFX_H
|
||||
#define _STDAFX_H
|
||||
|
||||
#if defined(_WIN32_WCE) && _WIN32_WCE < 300
|
||||
|
||||
#define NONSTANDARD_PORT
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(NONSTANDARD_PORT)
|
||||
|
||||
#include <portdefs.h>
|
||||
|
@ -208,7 +208,8 @@ enum {
|
||||
|
||||
enum {
|
||||
#ifdef _WIN32_WCE
|
||||
SAMPLES_PER_SEC = 11025
|
||||
SAMPLES_PER_SEC_OLD = 11025,
|
||||
SAMPLES_PER_SEC_NEW = 22050
|
||||
#else
|
||||
SAMPLES_PER_SEC = 22050
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user