mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 03:23:34 +00: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