mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-25 10:00:45 +01:00
Register Win32 error 32
This commit is contained in:
parent
f59a448f3f
commit
2570911283
|
|
@ -93,6 +93,7 @@ static fs::error to_error(DWORD e)
|
|||
case ERROR_NEGATIVE_SEEK: return fs::error::inval;
|
||||
case ERROR_DIRECTORY: return fs::error::inval;
|
||||
case ERROR_INVALID_NAME: return fs::error::inval;
|
||||
case ERROR_SHARING_VIOLATION: return fs::error::acces;
|
||||
default: fmt::throw_exception("Unknown Win32 error: %u.", e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue