Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
This commit is contained in:
parent
a461c7550e
commit
b8ad54b3af
15 changed files with 59 additions and 61 deletions
|
@ -1012,9 +1012,9 @@ void ScummEngine_v6he::o6_openFile() {
|
|||
|
||||
if (slot != -1) {
|
||||
if (mode == 1)
|
||||
_hFileTable[slot].open((char*)filename + r, getGameDataPath(), File::kFileReadMode);
|
||||
_hFileTable[slot].open((char*)filename + r, File::kFileReadMode);
|
||||
else if (mode == 2)
|
||||
_hFileTable[slot].open((char*)filename + r, getGameDataPath(), File::kFileWriteMode);
|
||||
_hFileTable[slot].open((char*)filename + r, File::kFileWriteMode);
|
||||
else
|
||||
error("o6_openFile(): wrong open file mode");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue