mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Misc sanity checks
This commit is contained in:
@@ -160,7 +160,10 @@ void ControlMapper::SetCallbacks(
|
||||
}
|
||||
|
||||
void ControlMapper::SetPSPAxis(int device, int stick, char axis, float value) {
|
||||
int axisId = axis == 'X' ? 0 : 1;
|
||||
const int axisId = axis == 'X' ? 0 : 1;
|
||||
if (stick != 0 && stick != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
float position[2];
|
||||
position[0] = history_[stick][0];
|
||||
|
||||
Reference in New Issue
Block a user