mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +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() {
|
MemoryDumpFile() {
|
||||||
m_handle = ::CreateFile(memoryDumpFile.c_str(),
|
m_handle = ::CreateFile(memoryDumpFile.c_str(),
|
||||||
GENERIC_WRITE, 0, NULL,
|
GENERIC_WRITE, 0, NULL,
|
||||||
CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL);
|
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||||
}
|
}
|
||||||
~MemoryDumpFile() {
|
~MemoryDumpFile() {
|
||||||
::CloseHandle(m_handle);
|
::CloseHandle(m_handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user