mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Overwrite memory dump file if it already exists (win32 impl).
This commit is contained in:
parent
e530f977df
commit
18a0a2a8c7
@ -41,7 +41,7 @@ private:
|
||||
MemoryDumpFile() {
|
||||
m_handle = ::CreateFile(memoryDumpFile.c_str(),
|
||||
GENERIC_WRITE, 0, NULL,
|
||||
CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
}
|
||||
~MemoryDumpFile() {
|
||||
::CloseHandle(m_handle);
|
||||
|
Loading…
Reference in New Issue
Block a user