early-access version 2800

This commit is contained in:
pineappleEA 2022-06-24 06:39:51 +02:00
parent 10e9e7d9ae
commit a2c0c22feb
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2799. This is the source code for early-access 2800.
## Legal Notice ## Legal Notice

View file

@ -55,13 +55,13 @@ ResultCode Controller_NPad::IsDeviceHandleValid(
const bool npad_type = device_handle.npad_type < Core::HID::NpadStyleIndex::MaxNpadType; const bool npad_type = device_handle.npad_type < Core::HID::NpadStyleIndex::MaxNpadType;
const bool device_index = device_handle.device_index < Core::HID::DeviceIndex::MaxDeviceIndex; const bool device_index = device_handle.device_index < Core::HID::DeviceIndex::MaxDeviceIndex;
if (npad_type) { if (!npad_type) {
return VibrationInvalidStyleIndex; return VibrationInvalidStyleIndex;
} }
if (npad_id) { if (!npad_id) {
return VibrationInvalidNpadId; return VibrationInvalidNpadId;
} }
if (device_index) { if (!device_index) {
return VibrationDeviceIndexOutOfRange; return VibrationDeviceIndexOutOfRange;
} }