aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-25 23:07:59 +0000
committerEugene Sandulenko2006-04-25 23:07:59 +0000
commitbf53520130bbde8a1fb85bebae487d8b489d8f42 (patch)
tree7270b20eb9fe6fd492126eb6509db6e01739022f /engines/scumm
parent14beeb3492e7d46515d003399ecdbc393d3e1a0f (diff)
downloadscummvm-rg350-bf53520130bbde8a1fb85bebae487d8b489d8f42.tar.gz
scummvm-rg350-bf53520130bbde8a1fb85bebae487d8b489d8f42.tar.bz2
scummvm-rg350-bf53520130bbde8a1fb85bebae487d8b489d8f42.zip
- Check if path specified for a game in scummvm.ini really exists and complain
if it does not - Give more understandable feedback to user when SCUMM module can't find a game - Put TODO to kyra engine as their current detection scheme does not let easily tell if game data really present in specified directory svn-id: r22163
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/plugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index 455fec01e3..4703bf2ab0 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -1312,8 +1312,10 @@ Engine *Engine_SCUMM_create(OSystem *syst) {
detectGames(fslist, results, gameid);
// Unable to locate game data
- if (results.empty())
+ if (results.empty()) {
+ warning("ScummEngine: unable to locate game data");
return 0;
+ }
DetectorResult res(*(results.begin()));