1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Revert ERROR_INVALID_PARAMETERS

I don't want to ignore serious problems in light of easy workarounds.
This commit is contained in:
Nekotekina 2017-11-20 18:10:35 +03:00
parent d32a30bbeb
commit e77d5cf970

View File

@ -97,7 +97,7 @@ static fs::error to_error(DWORD e)
case ERROR_SHARING_VIOLATION: return fs::error::acces;
case ERROR_DIR_NOT_EMPTY: return fs::error::notempty;
case ERROR_NOT_READY: return fs::error::noent;
case ERROR_INVALID_PARAMETER: return fs::error::inval;
//case ERROR_INVALID_PARAMETER: return fs::error::inval;
default: fmt::throw_exception("Unknown Win32 error: %u.", e);
}
}