aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-21 22:25:55 +0000
committerJohannes Schickel2009-08-21 22:25:55 +0000
commitedc8ffdaba5756c37aa84be5b933bc238c759ec2 (patch)
tree9526b8617c6bec639b76a0cde32a01133f805adb /backends
parent4a5740cbe29ba421a79784f65eb26f42a36ac521 (diff)
downloadscummvm-rg350-edc8ffdaba5756c37aa84be5b933bc238c759ec2.tar.gz
scummvm-rg350-edc8ffdaba5756c37aa84be5b933bc238c759ec2.tar.bz2
scummvm-rg350-edc8ffdaba5756c37aa84be5b933bc238c759ec2.zip
Fix use of default directories in SCI detection code. So far all our detection code was based on FSNode, but since SCI seems to call engine internal code for detection which operates via File, there was the need to use File::addDefaultDirectory to have it working. The problem here is that the default directories are not reset after game detection, since the caller code assumes it's all done via FSNode. A simple change to use SearchMan, which is used internally by File, to add the default directory and removing it later on in the SCI detection code fixed the issue. Of course that is still slightly of a HACK, but it is much nicer than to rewrite engine internal code to use FSNode, just to be usable for game detection. I added a possible solution to remove the HACK as sourcecode comment.
svn-id: r43613
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions