mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
add DATA_PATH to directory search list when starting game
svn-id: r27381
This commit is contained in:
parent
5db4ab48bc
commit
3b7b869476
@ -190,6 +190,11 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &
|
||||
if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain))
|
||||
Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain));
|
||||
|
||||
#ifdef DATA_PATH
|
||||
// Add the global DATA_PATH to the directory search list
|
||||
Common::File::addDefaultDirectoryRecursive(DATA_PATH);
|
||||
#endif
|
||||
|
||||
// On creation the engine should've set up all debug levels so we can use
|
||||
// the command line arugments here
|
||||
Common::enableSpecialDebugLevelList(edebuglevels);
|
||||
|
Loading…
x
Reference in New Issue
Block a user