mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
BASE: Add dumpAllDetectionEntries() to commandLine
- Add virtual function dumpDetectionEntries() to MetaEngine - Glk, Sky and SCUMM do not have proper definitions for dumpDetectionEntries() - Add md5PropToGameFile() to extract prefixes for md5s - AdvancedDetector writes content of DAT file to STDOUT
This commit is contained in:
1 parent
5f3e062f97
commit
bb20579bee
7 files changed
+70
-2
No files matched your search
@@ -1424,12 +1424,11 @@ static void listAudioDevices() {
|
||||
}
|
||||
|
||||
/** Dump MD5s from detection entries into STDOUT */
|
||||
/** WIP: Current only creates a metaengine instance for each engine */
|
||||
static void dumpAllDetectionEntries() {
|
||||
// We need to create one file for each engine
|
||||
const PluginList &plugins = EngineMan.getPlugins();
|
||||
for (PluginList::const_iterator iter = plugins.begin(); iter != plugins.end(); iter++) {
|
||||
const MetaEngineDetection &metaEngine = (*iter)->get<MetaEngineDetection>();
|
||||
metaEngine.dumpDetectionEntries();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user