mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-31 18:15:01 +00:00
1bdcb5d6d9
This means the shared memory struct is just 255 bytes longer than a few commits ago instead of 32K. Also introduce a function for putting path strings in the shared memory as there was too much copied and pasted code and it was error-prone. Also free some handles once we're done with them so they don't leak.
14 lines
281 B
C++
14 lines
281 B
C++
#ifndef COMPONENTS_CRASH_WINDOWSCRASHDUMPPATHHELPERS_H
|
|
#include "windows_crashshm.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
namespace Crash
|
|
{
|
|
std::filesystem::path getCrashDumpPath(const CrashSHM& crashShm);
|
|
|
|
std::filesystem::path getFreezeDumpPath(const CrashSHM& crashShm);
|
|
}
|
|
|
|
#endif
|