[Scummvm-cvs-logs] CVS: scummvm system.h,1.12,1.13 gameDetector.cpp,1.21,1.22
Nicolas Bacca
arisme at users.sourceforge.net
Thu Apr 18 23:33:23 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv29223
Modified Files:
system.h gameDetector.cpp
Log Message:
Update minimalist (and broken) WinCE port
Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/system.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** system.h 16 Apr 2002 23:24:59 -0000 1.12
--- system.h 19 Apr 2002 06:23:48 -0000 1.13
***************
*** 122,125 ****
--- 122,126 ----
OSystem *OSystem_MorphOS_create(int game_id, int gfx_driver, bool full_screen);
OSystem *OSystem_Dreamcast_create();
+ OSystem *OSystem_WINCE3_create();
enum {
***************
*** 141,144 ****
--- 142,146 ----
GD_NULL = 4,
GD_MORPHOS = 5,
+ GD_WINCE = 6
};
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** gameDetector.cpp 18 Apr 2002 21:40:23 -0000 1.21
--- gameDetector.cpp 19 Apr 2002 06:23:49 -0000 1.22
***************
*** 407,410 ****
--- 407,413 ----
case GD_SDL:
case GD_AUTO:
+ #ifdef _WIN32_WCE
+ return OSystem_WINCE3_create();
+ #endif
#if !defined(__MORPHOS__)
return OSystem_SDL_create(_gfx_mode, _fullScreen);
***************
*** 436,440 ****
int drv = _midi_driver;
! #ifdef WIN32
/* MD_WINDOWS is default MidiDriver on windows targets */
if (drv == MD_AUTO) drv = MD_WINDOWS;
--- 439,443 ----
int drv = _midi_driver;
! #if defined (WIN32) && !defined(_WIN32_WCE)
/* MD_WINDOWS is default MidiDriver on windows targets */
if (drv == MD_AUTO) drv = MD_WINDOWS;
***************
*** 444,448 ****
case MD_AUTO:
case MD_NULL: return MidiDriver_NULL_create();
! #ifdef WIN32
case MD_WINDOWS: return MidiDriver_WIN_create();
#endif
--- 447,451 ----
case MD_AUTO:
case MD_NULL: return MidiDriver_NULL_create();
! #if defined(WIN32) && !defined(_WIN32_WCE)
case MD_WINDOWS: return MidiDriver_WIN_create();
#endif
More information about the Scummvm-git-logs
mailing list