cuda.c: fix CUDA ADB error packet format
commit6729aa40135bc96d69b5bf5e65a7d463ef7793e7
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 11 Nov 2015 22:49:42 +0000 (11 22:49 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 02:15:54 +0000 (12 13:15 +1100)
treec0583ec4636e0b7e3245aaa1b6cef1827dbd6144
parent72f1f97d4927f798167855fda7881b0e22756b20
cuda.c: fix CUDA ADB error packet format

According to MOL, ADB error packets should be of the form (type, status, cmd)
rather than just (type, status). This fixes ADB device detection under MacOS 9.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/cuda.c