forked from len0rd/rockbox
sd-as3525v2: read cid & csd in the correct order, fix disk info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25292 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
94fb09316a
commit
1657174561
1 changed files with 6 additions and 4 deletions
|
|
@ -420,11 +420,13 @@ static bool send_cmd(const int drive, const int cmd, const int arg, const int fl
|
|||
|
||||
if(flags & MCI_LONG_RESP)
|
||||
{
|
||||
response[3] = MCI_RESP3;
|
||||
response[2] = MCI_RESP2;
|
||||
response[1] = MCI_RESP1;
|
||||
response[0] = MCI_RESP3;
|
||||
response[1] = MCI_RESP2;
|
||||
response[2] = MCI_RESP1;
|
||||
response[3] = MCI_RESP0;
|
||||
}
|
||||
response[0] = MCI_RESP0;
|
||||
else
|
||||
response[0] = MCI_RESP0;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue