aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-10-31 08:16:33 +0100
committerTorbjörn Andersson2014-10-31 08:16:33 +0100
commit6bc36cbdf412db1ce10adcdc50eb98135908612e (patch)
treeac4bf49c2841d9e05ba15003be0c6cbd2bc0a46e /gui
parent14ce84da9aec30aa89505f40d16e06df0b6725e4 (diff)
downloadscummvm-rg350-6bc36cbdf412db1ce10adcdc50eb98135908612e.tar.gz
scummvm-rg350-6bc36cbdf412db1ce10adcdc50eb98135908612e.tar.bz2
scummvm-rg350-6bc36cbdf412db1ce10adcdc50eb98135908612e.zip
DEBUGGER: Add FIXME comment about file name vs base name
Diffstat (limited to 'gui')
-rw-r--r--gui/debugger.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 560e516a94..216bd626fe 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -556,6 +556,10 @@ bool Debugger::cmdMd5Mac(int argc, const char **argv) {
filename = filename + " " + argv[i];
}
Common::MacResManager macResMan;
+ // FIXME: There currently isn't any way to tell the Mac resource
+ // manager to open a specific file. Instead, it takes a "base name"
+ // and constructs a file name out of that. While usually a desirable
+ // thing, it's not ideal here.
if (!macResMan.open(filename)) {
debugPrintf("Resource file '%s' not found\n", filename.c_str());
} else {