Browse Source

Gamecube: Read from the specified channel...

pull/5/head
Raphael Assenat 5 years ago
parent
commit
1c05ad1326
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gamecube.c

+ 1
- 1
gamecube.c 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;
}


Loading…
Cancel
Save