mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 20:21:06 +00:00

This means building and running scummvm in tree now works out of the box. Unfortnatelly registering them as defaults would not work as ConfMan::hasKey() returns false when only defined as a default, and in most places this is checked before using those paths. So if we wanted to use defaults we would need to replace all those checks with a check that the path is not empty. There is a drawback to using the session domain though: it takes priority over all other domains. So a custom extrapath defined for a game will be ignored. We try to mitigate the issue by only adding those path if they exist(so that it does not break shadow builds for example). Also the change is excluded on Windows as it is not needed there since the themes and engine data files are embedded in the executable.