mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Handle Win32 error 87 ERROR_INVALID_PARAMETER with fs::error::inval
This commit is contained in:
parent
86a34fbb45
commit
380f90b097
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +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;
|
||||
default: fmt::throw_exception("Unknown Win32 error: %u.", e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue