mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-28 22:18:26 -05:00
early-access version 2800
This commit is contained in:
parent
10e9e7d9ae
commit
a2c0c22feb
@ -1,7 +1,7 @@
|
||||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 2799.
|
||||
This is the source code for early-access 2800.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
@ -55,13 +55,13 @@ ResultCode Controller_NPad::IsDeviceHandleValid(
|
||||
const bool npad_type = device_handle.npad_type < Core::HID::NpadStyleIndex::MaxNpadType;
|
||||
const bool device_index = device_handle.device_index < Core::HID::DeviceIndex::MaxDeviceIndex;
|
||||
|
||||
if (npad_type) {
|
||||
if (!npad_type) {
|
||||
return VibrationInvalidStyleIndex;
|
||||
}
|
||||
if (npad_id) {
|
||||
if (!npad_id) {
|
||||
return VibrationInvalidNpadId;
|
||||
}
|
||||
if (device_index) {
|
||||
if (!device_index) {
|
||||
return VibrationDeviceIndexOutOfRange;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user