mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-04 21:22:32 -07: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