Don't freak out if the file already exists... overwrite it.

This commit is contained in:
Pavel Krajcevski 2013-03-07 02:43:33 -05:00
parent 1aa62003b9
commit 8054740900

View file

@ -66,7 +66,7 @@ public:
case eFileMode_Write: case eFileMode_Write:
case eFileMode_WriteBinary: case eFileMode_WriteBinary:
dwDesiredAccess = GENERIC_WRITE; dwDesiredAccess = GENERIC_WRITE;
dwOpenAction = CREATE_NEW; dwOpenAction = CREATE_ALWAYS;
break; break;
case eFileMode_WriteAppend: case eFileMode_WriteAppend: