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",
"SSPICLI.DLL",
"USP10.DLL",
"WS2_32.dll"
"WS2_32.dll",
"bcrypt.dll",
"combase.dll",
"imagehlp.dll",
"msvcp_win.dll"
]
files = []

View file

@ -163,6 +163,7 @@ void crash_screen(SDL_Window* win){
timeeeeee.pop_back();
}
string file = "crash " + timeeeeee + ".txt";
std::erase(file, ':');
SDL_snprintf(msg4, sizeof(msg4), "Path: %s%s", SDL_GetCurrentDirectory(), file.c_str());
o.open(file);
//collecting info and writing to crashdump