mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
MOHAWK: Add Rugrats subfolders to the path too.
This commit is contained in:
parent
09349c2bca
commit
a6af439eff
@ -141,8 +141,12 @@ MohawkEngine_LivingBooks::MohawkEngine_LivingBooks(OSystem *syst, const MohawkGa
|
||||
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
// Rugrats
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "program");
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "Rugrats Adventure Game");
|
||||
const Common::FSNode ProgPath = gameDataDir.getChild("program");
|
||||
if (ProgPath.exists())
|
||||
SearchMan.addDirectory(ProgPath.getPath(), ProgPath, 0, 2);
|
||||
const Common::FSNode RugPath = gameDataDir.getChild("Rugrats Adventure Game");
|
||||
if (RugPath.exists())
|
||||
SearchMan.addDirectory(RugPath.getPath(), RugPath, 0, 2);
|
||||
// CarmenTQ
|
||||
const Common::FSNode CTQPath = gameDataDir.getChild("95instal");
|
||||
if (CTQPath.exists())
|
||||
|
Loading…
x
Reference in New Issue
Block a user