mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
clang-format
This commit is contained in:
parent
c3e4db92c3
commit
5310a1a035
@ -15,8 +15,7 @@ namespace Libraries::Usbd {
|
|||||||
s32 libusb_to_orbis_error(int retVal) {
|
s32 libusb_to_orbis_error(int retVal) {
|
||||||
if (retVal == LIBUSB_ERROR_OTHER)
|
if (retVal == LIBUSB_ERROR_OTHER)
|
||||||
return 0x802400FF;
|
return 0x802400FF;
|
||||||
if (retVal < 0)
|
if (retVal < 0) {
|
||||||
{
|
|
||||||
LOG_ERROR(Lib_Usbd, "libusb returned: {}", libusb_error_name(retVal));
|
LOG_ERROR(Lib_Usbd, "libusb returned: {}", libusb_error_name(retVal));
|
||||||
return 0x80240000 - retVal;
|
return 0x80240000 - retVal;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user