mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
WINTERMUTE: Prevent warning about duplicate files when autodetecting.
Removed a call to BaseFileManager::registerPackages() in WintermuteEngine::getGameInfo(), as the constructor for BaseFileManager already calls registerPackages() once; another call should thus be superfluous.
This commit is contained in:
parent
4105805505
commit
4401f40f72
@ -292,7 +292,6 @@ bool WintermuteEngine::getGameInfo(const Common::FSList &fslist, Common::String
|
||||
Common::SeekableReadStream *stream = nullptr;
|
||||
// Quick-fix, instead of possibly breaking the persistence-system, let's just roll with it
|
||||
BaseFileManager *fileMan = new BaseFileManager(Common::UNK_LANG, true);
|
||||
fileMan->registerPackages(fslist);
|
||||
stream = fileMan->openFile("startup.settings", false, false);
|
||||
|
||||
// The process is as follows: Check the "GAME=" tag in startup.settings, to decide where the
|
||||
|
Loading…
x
Reference in New Issue
Block a user