Update rpcs3/Emu/Io/RB3MidiKeyboard.cpp
Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
@@ -199,7 +199,7 @@ void usb_device_rb3_midi_keyboard::parse_midi_message(u8* msg, usz size)
|
|||||||
// handle note on/off messages
|
// handle note on/off messages
|
||||||
if (size == 3 && (msg[0] == 0x80 || msg[0] == 0x90))
|
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
|
// handle navigation buttons
|
||||||
switch (msg[1])
|
switch (msg[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user