mirror of https://github.com/xqemu/xqemu.git
Re-add clearing of the APP_CMD flag that somehow got lost.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3094 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
330c4d61a6
commit
724d3a8f29
5
hw/sd.c
5
hw/sd.c
|
@ -1151,9 +1151,10 @@ int sd_do_command(SDState *sd, struct sd_request_s *req,
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (last_status & APP_CMD)
|
||||
if (last_status & APP_CMD) {
|
||||
rtype = sd_app_command(sd, *req);
|
||||
else
|
||||
sd->card_status &= ~APP_CMD;
|
||||
} else
|
||||
rtype = sd_normal_command(sd, *req);
|
||||
|
||||
sd->current_cmd = req->cmd;
|
||||
|
|
Loading…
Reference in New Issue