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
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ static char gamecubeUpdate(unsigned char chn)
tmpdata[1] = GC_GETSTATUS2; tmpdata[1] = GC_GETSTATUS2;
tmpdata[2] = GC_GETSTATUS3(gc_rumbling[chn]); 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) { if (count != GC_GETSTATUS_REPLY_LENGTH) {
return 1; return 1;
} }