From b8ad54b3af1de97bf986e7e4d4da97f02ece3273 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 27 Jun 2004 22:14:35 +0000 Subject: Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls svn-id: r14090 --- sword1/resman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1') diff --git a/sword1/resman.cpp b/sword1/resman.cpp index fb41e648f4..49123ddba3 100644 --- a/sword1/resman.cpp +++ b/sword1/resman.cpp @@ -145,7 +145,7 @@ void ResMan::dumpRes(uint32 id) { char outn[30]; sprintf(outn, "DUMP%08X.BIN", id); File outf; - if (outf.open(outn, "", File::kFileWriteMode)) { + if (outf.open(outn, File::kFileWriteMode, "")) { resOpen(id); MemHandle *memHandle = resHandle(id); outf.write(memHandle->data, memHandle->size); -- cgit v1.2.3