mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Less code for bool variable inversion
This commit is contained in:
parent
89c6f76456
commit
35d0149162
@ -949,10 +949,7 @@ const std::set<std::string> &GetSeenPads() {
|
||||
|
||||
// Swap direction buttons and left analog axis
|
||||
void SwapAxis() {
|
||||
if (g_swapped_keys)
|
||||
g_swapped_keys = false;
|
||||
else
|
||||
g_swapped_keys = true;
|
||||
g_swapped_keys = !g_swapped_keys;
|
||||
}
|
||||
|
||||
} // KeyMap
|
||||
|
Loading…
Reference in New Issue
Block a user