mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
3bb3f58c73
Well... unless we fail to get the user profile directory. Also put freeze dumps in a more appropriately-named file. Discussed in https://gitlab.com/OpenMW/openmw/-/issues/7455 Manual rewrite of c21695c951d4b83aea6fdbc037d78931c702c20b As well as that, I found a bug where the crash dump path was being converted from a std::filesystem::path to a utf8-encoded std::string, then passed to the crash catcher, which converted it to a std::filesystem::path implicitly, but using the system eight-bit code page, which wouldn't usually be UTF-8. That's now fixed by passing the function that expects a path a path instead of a string.