mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
WINDOWS FUKCING FIXES
This commit is contained in:
parent
e6623c0f79
commit
790e9a2a6d
2 changed files with 6 additions and 1 deletions
|
|
@ -38,7 +38,11 @@ BLACKLIST = [
|
||||||
"SHELL32.DLL",
|
"SHELL32.DLL",
|
||||||
"SSPICLI.DLL",
|
"SSPICLI.DLL",
|
||||||
"USP10.DLL",
|
"USP10.DLL",
|
||||||
"WS2_32.dll"
|
"WS2_32.dll",
|
||||||
|
"bcrypt.dll",
|
||||||
|
"combase.dll",
|
||||||
|
"imagehlp.dll",
|
||||||
|
"msvcp_win.dll"
|
||||||
]
|
]
|
||||||
|
|
||||||
files = []
|
files = []
|
||||||
|
|
|
||||||
|
|
@ -163,6 +163,7 @@ void crash_screen(SDL_Window* win){
|
||||||
timeeeeee.pop_back();
|
timeeeeee.pop_back();
|
||||||
}
|
}
|
||||||
string file = "crash " + timeeeeee + ".txt";
|
string file = "crash " + timeeeeee + ".txt";
|
||||||
|
std::erase(file, ':');
|
||||||
SDL_snprintf(msg4, sizeof(msg4), "Path: %s%s", SDL_GetCurrentDirectory(), file.c_str());
|
SDL_snprintf(msg4, sizeof(msg4), "Path: %s%s", SDL_GetCurrentDirectory(), file.c_str());
|
||||||
o.open(file);
|
o.open(file);
|
||||||
//collecting info and writing to crashdump
|
//collecting info and writing to crashdump
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue