mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 17:07:58 -05:00
core/hid: Rework battery mappings
This commit is contained in:
@ -174,7 +174,7 @@ void EmulatedDevices::UpdateKey(std::size_t key_index, bool status) {
|
||||
if (status) {
|
||||
entry = entry | mask;
|
||||
} else {
|
||||
entry = entry & ~mask;
|
||||
entry = static_cast<u8>(entry & ~mask);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user