mac_via: fix up adb_via_receive() trace events
commit9d39ec70f41450766cf1c41ad992706fd6507307
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 11 Mar 2021 10:05:00 +0000 (11 10:05 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 16 Mar 2021 20:41:37 +0000 (16 21:41 +0100)
tree90d20c00eabcd5586962fd1616e9248a055f6e7d
parent935cac9c80cdbf2654d5aaa37524941967e44c98
mac_via: fix up adb_via_receive() trace events

The use of the post-increment operator on adb_data_in_index meant that the
trace-event was accidentally displaying the next byte in the incoming ADB
data buffer rather than the current byte.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210311100505.22596-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/misc/mac_via.c