WINDOWS FUKCING FIXES

This commit is contained in:
DepressedTWM 2026-08-14 17:19:57 +04:00
parent e6623c0f79
commit 790e9a2a6d
2 changed files with 6 additions and 1 deletions

View file

@ -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 = []

View file

@ -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