mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Handle device not ready in fs::error. Solves #3592
This commit is contained in:
parent
c1f08ce58d
commit
9b8eb089b1
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ static fs::error to_error(DWORD e)
|
|||
case ERROR_INVALID_NAME: return fs::error::inval;
|
||||
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;
|
||||
default: fmt::throw_exception("Unknown Win32 error: %u.", e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue