USB: Fix incorrect serialization of HIDKbdDevice.

This commit is contained in:
Connor McLaughlin 2023-01-04 19:20:36 +10:00 committed by lightningterror
parent 4620b566b9
commit dcbb1483b9
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ namespace usb_hid
sw.DoPODArray(s->hid.kbd.keycodes, std::size(s->hid.kbd.keycodes)); sw.DoPODArray(s->hid.kbd.keycodes, std::size(s->hid.kbd.keycodes));
sw.Do(&s->hid.kbd.modifiers); sw.Do(&s->hid.kbd.modifiers);
sw.Do(&s->hid.kbd.leds); sw.Do(&s->hid.kbd.leds);
sw.DoPODArray(&s->hid.kbd.key, std::size(s->hid.kbd.key)); sw.DoPODArray(s->hid.kbd.key, std::size(s->hid.kbd.key));
sw.Do(&s->hid.kbd.keys); sw.Do(&s->hid.kbd.keys);
sw.Do(&s->hid.head); sw.Do(&s->hid.head);