aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-13 00:26:58 +0200
committerJohannes Schickel2013-08-13 00:26:58 +0200
commit7c58e9a6d57aa88590b0929110a617c6fe84a4fe (patch)
tree15fe05b8a5b0302e892ffd44829ed4fcfb8672f4 /backends
parent7c2660c97e7f851cbb1d35e494d913adea2c8653 (diff)
downloadscummvm-rg350-7c58e9a6d57aa88590b0929110a617c6fe84a4fe.tar.gz
scummvm-rg350-7c58e9a6d57aa88590b0929110a617c6fe84a4fe.tar.bz2
scummvm-rg350-7c58e9a6d57aa88590b0929110a617c6fe84a4fe.zip
DC: Use const version of ConfigManager::getGameDomains.
This should fix compilation for the DC port.
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/selector.cpp b/backends/platform/dc/selector.cpp
index 339e5df62d..4026c7dde6 100644
--- a/backends/platform/dc/selector.cpp
+++ b/backends/platform/dc/selector.cpp
@@ -219,7 +219,7 @@ static int findGames(Game *games, int max, bool use_ini)
if (use_ini) {
ConfMan.loadDefaultConfigFile();
- Common::ConfigManager::DomainMap &game_domains = ConfMan.getGameDomains();
+ const Common::ConfigManager::DomainMap &game_domains = ConfMan.getGameDomains();
for(Common::ConfigManager::DomainMap::const_iterator i =
game_domains.begin(); curr_game < max && i != game_domains.end(); i++) {
Common::String path = (*i)._value["path"];