RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.67
diff -u -3 -p -r1.67 gameDetector.cpp
|
|
void listTargets() {
|
192 | 192 | } |
193 | 193 | } |
194 | 194 | |
| 195 | /** List all compiled in libs */ |
| 196 | void listLibs() { |
| 197 | printf("Features compiled in:"); |
| 198 | |
| 199 | #ifdef USE_VORBIS |
| 200 | printf(" Ogg/Vorbis"); |
| 201 | #endif |
| 202 | |
| 203 | #ifdef USE_FLAC |
| 204 | printf(" FLAC"); |
| 205 | #endif |
| 206 | |
| 207 | #ifdef USE_MAD |
| 208 | printf(" MP3"); |
| 209 | #endif |
| 210 | |
| 211 | #ifdef USE_ALSA |
| 212 | printf(" ALSA"); |
| 213 | #endif |
| 214 | |
| 215 | #ifdef USE_ZLIB |
| 216 | printf(" zLib"); |
| 217 | #endif |
| 218 | |
| 219 | #ifdef USE_MPEG2 |
| 220 | printf(" MPEG2"); |
| 221 | #endif |
| 222 | |
| 223 | printf(".\n"); |
| 224 | } |
| 225 | |
195 | 226 | GameSettings GameDetector::findGame(const String &gameName, const Plugin **plugin) { |
196 | 227 | // Find the GameSettings for this target |
197 | 228 | const PluginList &plugins = PluginManager::instance().getPlugins(); |
… |
… |
void GameDetector::parseCommandLine(int
|
371 | 402 | |
372 | 403 | DO_OPTION_CMD('v', "version") |
373 | 404 | printf("%s\n", gScummVMFullVersion); |
| 405 | listLibs(); |
374 | 406 | exit(0); |
375 | 407 | END_OPTION |
376 | 408 | |