mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-22 03:40:30 +00:00
Update rpcs3/Emu/Io/RB3MidiKeyboard.cpp
Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
parent
8bd9a52de3
commit
bf8621c921
@ -199,7 +199,7 @@ void usb_device_rb3_midi_keyboard::parse_midi_message(u8* msg, usz size)
|
||||
// handle note on/off messages
|
||||
if (size == 3 && (msg[0] == 0x80 || msg[0] == 0x90))
|
||||
{
|
||||
bool note_on = (0x10 & msg[0]) == 0x10 && msg[2] != 0;
|
||||
const bool note_on = (0x10 & msg[0]) == 0x10 && msg[2] != 0;
|
||||
|
||||
// handle navigation buttons
|
||||
switch (msg[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user