[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.134,1.135
Jamieson Christian
jamieson630 at users.sourceforge.net
Wed Aug 13 13:01:23 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm Makefile.common,1.58,1.59
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.122,1.123 scumm.h,1.285,1.286 scummvm.cpp,2.326,2.327 sound.cpp,1.197,1.198
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv13978/scummvm/common
Modified Files:
gameDetector.cpp
Log Message:
Fix ALWAYS_ADLIB override of native driver selection
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- gameDetector.cpp 13 Aug 2003 14:07:56 -0000 1.134
+++ gameDetector.cpp 13 Aug 2003 15:34:00 -0000 1.135
@@ -704,7 +704,10 @@
* and the game is one of those that want adlib as
* default, OR if the game is an older game that doesn't
* support anything else anyway. */
- if ((_game.adlib & VersionSettings::ADLIB_ALWAYS) && _midi_driver != MD_NULL ||
+ bool nativeMidiDriver =
+ (_midi_driver != MD_NULL && _midi_driver != MD_ADLIB &&
+ _midi_driver != MD_PCSPK && _midi_driver != MD_PCJR);
+ if ((_game.adlib & VersionSettings::ADLIB_ALWAYS) && nativeMidiDriver ||
(_game.adlib & VersionSettings::ADLIB_PREFERRED) && _midi_driver == MD_AUTO) {
_midi_driver = MD_ADLIB;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm Makefile.common,1.58,1.59
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.122,1.123 scumm.h,1.285,1.286 scummvm.cpp,2.326,2.327 sound.cpp,1.197,1.198
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list