mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 01:10:39 +02:00
Assorted warning fixes and data initialization to please valgrind
This commit is contained in:
1 parent
412bbb268a
commit
5a5c7028b9
14 files changed
+48
-41
No files matched your search
@@ -283,7 +283,7 @@ float ControlMapper::MapAxisValue(float value, int vkId, const InputMapping &map
|
||||
// If a signed axis is mapped to an unsigned mapping,
|
||||
// convert it. This happens when mapping DirectInput triggers to analog speed,
|
||||
// for example.
|
||||
int direction;
|
||||
int direction = 0;
|
||||
if (IsSignedAxis(mapping.Axis(&direction))) {
|
||||
// The value has been split up into two curInput values, so we need to go fetch the other
|
||||
// and put them back together again. Kind of awkward, but at least makes the regular case simple...
|
||||
|
||||
Reference in new issue
Block a user