[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.15,1.16
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Wed Oct 8 23:53:02 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.219,2.220
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 icons.cpp,1.12,1.13 icons.h,1.5,1.6 mouse.cpp,1.24,1.25 mouse.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv17849
Modified Files:
gameDetector.cpp
Log Message:
Temporary (?) fix to stop ScummVM crashing for me. (I don't define any
music driver in my [scummvm] section, which may be what's causing me
problems.)
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- gameDetector.cpp 8 Oct 2003 22:10:58 -0000 1.15
+++ gameDetector.cpp 9 Oct 2003 06:52:28 -0000 1.16
@@ -539,6 +539,9 @@
}
int GameDetector::parseMusicDriver(const String &str) {
+ if (str == String::emptyString)
+ return -1;
+
const char *s = str.c_str();
const MidiDriverDescription *md = getAvailableMidiDrivers();
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.219,2.220
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 icons.cpp,1.12,1.13 icons.h,1.5,1.6 mouse.cpp,1.24,1.25 mouse.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list