mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
SCI: Simplify engine plugin search
This commit is contained in:
parent
bef5e4e0a5
commit
21bd468b9a
@ -251,12 +251,7 @@ ADDetectedGame SciMetaEngineDetection::fallbackDetect(const FileMap &allFiles, c
|
||||
}
|
||||
}
|
||||
|
||||
const Plugin *detectionPlugin = EngineMan.findDetectionPlugin(getName());
|
||||
if (!detectionPlugin) {
|
||||
return ADDetectedGame();
|
||||
}
|
||||
|
||||
const Plugin *enginePlugin = PluginMan.getEngineFromDetectionPlugin(detectionPlugin);
|
||||
const Plugin *enginePlugin = PluginMan.findEnginePlugin(getName());
|
||||
if (!enginePlugin) {
|
||||
static bool warn = true;
|
||||
if (warn) {
|
||||
|
Loading…
Reference in New Issue
Block a user