mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
COMPOSER: Fix missing subdir matching for macintosh version of several games
This commit is contained in:
parent
dc6ecf4d6c
commit
1ec8da633e
@ -93,6 +93,17 @@ Common::Error ComposerEngine::run() {
|
||||
_directoriesToStrip = 0;
|
||||
}
|
||||
|
||||
if (getPlatform() == Common::kPlatformMacintosh) {
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
if (gameId == "sleepingcub")
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "sleepcub");
|
||||
if (gameId == "princess")
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "princess");
|
||||
if (gameId == "liam")
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "liam");
|
||||
|
||||
}
|
||||
|
||||
uint width = 640;
|
||||
if (_bookIni.hasKey("Width", "Common"))
|
||||
width = atoi(getStringFromConfig("Common", "Width").c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user