1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-21 23:08:53 -05:00

Gamecube: Read from the specified channel...

This commit is contained in:
Raphael Assenat 2016-10-25 22:14:20 -04:00
parent 21ebef2ed3
commit 1c05ad1326

View File

@ -121,7 +121,7 @@ static char gamecubeUpdate(unsigned char chn)
tmpdata[1] = GC_GETSTATUS2;
tmpdata[2] = GC_GETSTATUS3(gc_rumbling[chn]);
count = gcn64_transaction(GCN64_CHANNEL_0, tmpdata, 3, tmpdata, GC_GETSTATUS_REPLY_LENGTH);
count = gcn64_transaction(chn, tmpdata, 3, tmpdata, GC_GETSTATUS_REPLY_LENGTH);
if (count != GC_GETSTATUS_REPLY_LENGTH) {
return 1;
}