mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Debugger: Fix input.analog.send validation.
This commit is contained in:
1 parent
1fb7fe02b0
commit
8cefb98e97
1 file changed
+1
-1
@@ -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