diff options
author | wsoltys <wiso@xbmc.org> | 2011-11-28 19:45:45 +0100 |
---|---|---|
committer | wsoltys <wiso@xbmc.org> | 2011-11-28 19:52:16 +0100 |
commit | 8cdf853cb7a73ed2a672e6fb2edc1a7f660426e3 (patch) | |
tree | 804d8848f4d0f8ebaa22839516df31e12331ddb2 | |
parent | 50c398094c361220557ebcd3034027ab7c72ae74 (diff) |
[WIN32] fixed: dumpfile directory wasn't existing in portable mode
-rw-r--r-- | xbmc/win32/XBMC_PC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/win32/XBMC_PC.cpp b/xbmc/win32/XBMC_PC.cpp index 274ce0814d..7c7c35d69d 100644 --- a/xbmc/win32/XBMC_PC.cpp +++ b/xbmc/win32/XBMC_PC.cpp @@ -43,7 +43,7 @@ LONG WINAPI CreateMiniDump( EXCEPTION_POINTERS* pEp ) CStdString errorMsg; CStdString dumpFile; CDateTime now(CDateTime::GetCurrentDateTime()); - dumpFile.Format("%s\\XBMC\\xbmc_crashlog-%04i%02i%02i-%02i%02i%02i.dmp", CWIN32Util::GetProfilePath().c_str(), now.GetYear(), now.GetMonth(), now.GetDay(), now.GetHour(), now.GetMinute(), now.GetSecond()); + dumpFile.Format("%s\\xbmc_crashlog-%04i%02i%02i-%02i%02i%02i.dmp", CWIN32Util::GetProfilePath().c_str(), now.GetYear(), now.GetMonth(), now.GetDay(), now.GetHour(), now.GetMinute(), now.GetSecond()); HANDLE hFile = CreateFile(dumpFile.c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL ); // Call MiniDumpWriteDump api with the dump file |