DEBUGGER: Add FIXME comment about file name vs base name

This commit is contained in:
Torbjörn Andersson 2014-10-31 08:16:33 +01:00
parent 14ce84da9a
commit 6bc36cbdf4

View File

@ -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 {