core/hid: Rework battery mappings

This commit is contained in:
german77
2021-11-24 20:30:26 -06:00
committed by Narr the Reg
parent c6c32daf40
commit 064ddacf49
9 changed files with 109 additions and 46 deletions
+1 -1
View File
@@ -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);
}
}