mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Fix minor code issues flagged by PVS-Studio and reported by alphrixus.
This commit is contained in:
1 parent
6c8dc94691
commit
e51c58716b
11 files changed
+62
-64
No files matched your search
@@ -85,11 +85,6 @@ static int GetOppositeVKey(int vkey) {
|
||||
}
|
||||
}
|
||||
|
||||
static bool IsAxisVKey(int vkey) {
|
||||
// Little hacky but works, of course.
|
||||
return GetOppositeVKey(vkey) != 0;
|
||||
}
|
||||
|
||||
static bool IsUnsignedMapping(int vkey) {
|
||||
return vkey == VIRTKEY_SPEED_ANALOG;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user