[Scummvm-cvs-logs] CVS: scummvm system.h,1.11,1.12 gameDetector.cpp,1.17,1.18
Marcus Comstedt
marcus_c at users.sourceforge.net
Tue Apr 16 16:26:07 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv30073
Modified Files:
system.h gameDetector.cpp
Log Message:
Hooks for Dreamcast OSystem.
Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/system.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** system.h 16 Apr 2002 20:28:55 -0000 1.11
--- system.h 16 Apr 2002 23:24:59 -0000 1.12
***************
*** 121,124 ****
--- 121,125 ----
OSystem *OSystem_NULL_create();
OSystem *OSystem_MorphOS_create(int game_id, int gfx_driver, bool full_screen);
+ OSystem *OSystem_Dreamcast_create();
enum {
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** gameDetector.cpp 16 Apr 2002 20:28:55 -0000 1.17
--- gameDetector.cpp 16 Apr 2002 23:24:59 -0000 1.18
***************
*** 356,360 ****
--- 356,365 ----
_midi_driver = MD_AUTO;
+ #ifdef __DC__
+ extern int dc_setup(GameDetector &detector);
+ dc_setup(*this);
+ #else
parseCommandLine(argc, argv);
+ #endif
if (_exe_name == NULL) {
***************
*** 393,396 ****
--- 398,405 ----
/* auto is to use SDL */
switch(_gfx_driver) {
+ #ifdef __DC__
+ case GD_AUTO:
+ return OSystem_Dreamcast_create();
+ #else
case GD_SDL:
case GD_AUTO:
***************
*** 414,417 ****
--- 423,427 ----
case GD_NULL:
return OSystem_NULL_create();
+ #endif
}
More information about the Scummvm-git-logs
mailing list