mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Revert ERROR_INVALID_PARAMETERS
I don't want to ignore serious problems in light of easy workarounds.
This commit is contained in:
parent
d32a30bbeb
commit
e77d5cf970
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user