diff options
author | Max Horn | 2004-06-27 22:14:35 +0000 |
---|---|---|
committer | Max Horn | 2004-06-27 22:14:35 +0000 |
commit | b8ad54b3af1de97bf986e7e4d4da97f02ece3273 (patch) | |
tree | 59bb3fbadaa8857a75010692593bef3a866d49cb /sky | |
parent | a461c7550e2260601a63cd113a31254f2fd3ef50 (diff) | |
download | scummvm-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 'sky')
-rw-r--r-- | sky/disk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp index 0b18056c12..53d2934f2e 100644 --- a/sky/disk.cpp +++ b/sky/disk.cpp @@ -407,9 +407,9 @@ void Disk::dumpFile(uint16 fileNr) { filePtr = loadFile(fileNr, NULL); sprintf(buf, "dumps/file-%d.dmp", fileNr); - out.open(buf, "", File::kFileReadMode); + out.open(buf, File::kFileReadMode, ""); if (out.isOpen() == false) { - out.open(buf, "", File::kFileWriteMode); + out.open(buf, File::kFileWriteMode, ""); if (out.isOpen() == false) return; out.write(filePtr, _lastLoadedFileSize); |