aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorMax Horn2004-06-27 22:14:35 +0000
committerMax Horn2004-06-27 22:14:35 +0000
commitb8ad54b3af1de97bf986e7e4d4da97f02ece3273 (patch)
tree59bb3fbadaa8857a75010692593bef3a866d49cb /scumm/debugger.cpp
parenta461c7550e2260601a63cd113a31254f2fd3ef50 (diff)
downloadscummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.tar.gz
scummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.tar.bz2
scummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.zip
Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 6a68fe0a9e..c4a0da71f5 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -315,7 +315,7 @@ bool ScummDebugger::Cmd_ImportRes(int argc, const char** argv) {
// FIXME add bounds check
if (!strncmp(argv[1], "scr", 3)) {
- file.open(argv[2], "");
+ file.open(argv[2], File::kFileReadMode, "");
if (file.isOpen() == false) {
DebugPrintf("Could not open file %s\n", argv[2]);
return true;