mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: use the right appdata path
This commit is contained in:
parent
add7ec3be7
commit
a8c0cbb088
1 changed files with 2 additions and 2 deletions
|
|
@ -47,10 +47,10 @@ VectoredHandler(
|
|||
GetSystemTime(&t);
|
||||
_stprintf_s(fileName, _T("MD-%d-%d-%d-%d-%d-%d.dmp"), t.wYear, t.wMonth, t.wDay, t.wHour, t.wMinute, t.wSecond);
|
||||
|
||||
_tcscat_s(fullPath, 2048, TEXT("XIVLauncher\\"));
|
||||
_tcscat_s(fullPath, 2048, TEXT("\\XIVLauncher\\"));
|
||||
_tcscat_s(fullPath, 2048, fileName);
|
||||
|
||||
HANDLE hFile = CreateFile(fullPath, GENERIC_READ | GENERIC_WRITE,
|
||||
HANDLE hFile = CreateFileW(fullPath, GENERIC_READ | GENERIC_WRITE,
|
||||
0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
|
||||
if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue