diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2021-05-05 00:01:20 +0300 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2021-05-19 20:51:34 +0300 |
| commit | a19a0096db4bbee3b7ae6411c0b6e801c091783e (patch) | |
| tree | 7c9b3d6f3ca4d3f2bf84241e519387ec5700c05f /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | |
| parent | d43a06ff6ad713f25b6b80ad6dc4bba8e003db04 (diff) | |
InputCommon: improve code that returns a controller attachment index
casting a value to a u32 when it's originally an int, and it's exposed as int to users,
could end up in cases where a negative number would result as a positive one.
This doesn't really affect the value range of the attachment enum,
still I think the code was wrong.
Heavily tested.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions
