diff --git a/config/ConfigValues.cpp b/config/ConfigValues.cpp index dd3a59b..bc6d659 100644 --- a/config/ConfigValues.cpp +++ b/config/ConfigValues.cpp @@ -50,7 +50,7 @@ bool ConfigValues::setIfValueIsAControllerPresetEx(std::string value,int slot,in //We need this function here so we can use preset sticks. bool ConfigValues::setIfValueIsPreset(std::map values,std::string possibleValue,int slot,int keyslot){ - if(slot > gHIDMaxDevices || slot > 0 || keyslot < 0 || keyslot >= CONTRPS_MAX_VALUE){ + if(slot > gHIDMaxDevices || slot < 0 || keyslot < 0 || keyslot >= CONTRPS_MAX_VALUE){ return false; } const u8 * values_ = NULL;