[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.122,1.123 main.cpp,1.91,1.92
Chris Apers
chrilith at users.sourceforge.net
Sat Sep 3 11:12:10 CEST 2005
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15518
Modified Files:
gameDetector.cpp main.cpp
Log Message:
Fixed endlines
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- gameDetector.cpp 3 Sep 2005 16:05:28 -0000 1.122
+++ gameDetector.cpp 3 Sep 2005 18:11:20 -0000 1.123
@@ -1,643 +1,643 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2001 Ludvig Strigeus
- * Copyright (C) 2001-2005 The ScummVM project
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
[...1255 lines suppressed...]
+ } else if (gameDataPath.lastChar() != '/'
+#if defined(__MORPHOS__) || defined(__amigaos4__)
+ && gameDataPath.lastChar() != ':'
+#endif
+ && gameDataPath.lastChar() != '\\') {
+ gameDataPath += '/';
+ ConfMan.set("path", gameDataPath, Common::ConfigManager::kTransientDomain);
+ }
+
+ return true;
+}
+
+Engine *GameDetector::createEngine(OSystem *sys) {
+ assert(_plugin);
+ return _plugin->createInstance(this, sys);
+}
+
+Audio::Mixer *GameDetector::createMixer() {
+ return new Audio::Mixer();
+}
Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- main.cpp 3 Sep 2005 16:05:28 -0000 1.91
+++ main.cpp 3 Sep 2005 18:11:20 -0000 1.92
@@ -1,535 +1,535 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2001 Ludvig Strigeus
- * Copyright (C) 2001-2005 The ScummVM project
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
[...1039 lines suppressed...]
+#endif
+ va_end(va);
+
+ debugHelper(buf);
+}
+
+void CDECL debug(const char *s, ...) {
+ char buf[STRINGBUFLEN];
+ va_list va;
+
+ va_start(va, s);
+#ifdef __SYMBIAN32__
+ vsprintf(buf, s, va);
+#else
+ vsnprintf(buf, STRINGBUFLEN, s, va);
+#endif
+ va_end(va);
+
+ debugHelper(buf);
+}
More information about the Scummvm-git-logs
mailing list