NOISSUE Integrate exit code reporting into MultiMC log

This commit is contained in:
Janrupf
2022-02-06 21:25:36 +01:00
parent 022aee7729
commit 918090e02a
2 changed files with 31 additions and 6 deletions

View File

@@ -61,10 +61,6 @@ Sys::DistributionInfo Sys::getDistributionInfo()
bool Sys::lookupSystemStatusCode(uint64_t code, std::string &name, std::string &description)
{
bool hasCodeName = Win32::lookupNtStatusCodeName(code, name);
if(!hasCodeName)
{
name = "unknown status";
}
PSTR messageBuffer = nullptr;
HMODULE ntdll = GetModuleHandleA("ntdll.dll");