mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Merge __CtrlSetAnalogX/Y into one function. Always called together.
This commit is contained in:
@@ -254,8 +254,7 @@ void WebSocketInputState::AnalogSend(DebuggerRequest &req) {
|
||||
if (!AnalogValue(req, &x, "x") || !AnalogValue(req, &y, "y"))
|
||||
return;
|
||||
|
||||
__CtrlSetAnalogX(x, stick == "left" ? CTRL_STICK_LEFT : CTRL_STICK_RIGHT);
|
||||
__CtrlSetAnalogY(y, stick == "left" ? CTRL_STICK_LEFT : CTRL_STICK_RIGHT);
|
||||
__CtrlSetAnalogXY(stick == "left" ? CTRL_STICK_LEFT : CTRL_STICK_RIGHT, x, y);
|
||||
|
||||
req.Respond();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user