mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
DETECTOR: Make updateGameDescriptor a method of AdvancedMetaEngine
This commit is contained in:
parent
59d56b6687
commit
d46bfff066
@ -189,7 +189,7 @@ static Common::String generatePreferredTarget(const Common::String &id, const AD
|
||||
return res;
|
||||
}
|
||||
|
||||
static void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *realDesc, const ADParams ¶ms) {
|
||||
static void AdvancedMetaEngine::updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *realDesc) {
|
||||
if (params.singleid != NULL) {
|
||||
desc["preferredtarget"] = desc["gameid"];
|
||||
desc["gameid"] = params.singleid;
|
||||
|
@ -246,6 +246,9 @@ public:
|
||||
virtual const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
protected:
|
||||
void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *realDesc);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user