mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 07:03:33 +02:00
Debugger: Fix input.analog.send validation.
This commit is contained in:
@@ -227,7 +227,7 @@ static bool AnalogValue(DebuggerRequest &req, float *value, const char *name) {
|
||||
}
|
||||
|
||||
double val = node->value.toNumber();
|
||||
if (val < 1.0 || val > 1.0) {
|
||||
if (val < -1.0 || val > 1.0) {
|
||||
req.Fail(StringFromFormat("Parameter '%s' must be between -1.0 and 1.0", name));
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user