FDC: Fix data transfer len (Hervé Poussineau)
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)
commit771effeb8d49aaf4d1a39c0be5e4b722d22427ec
tree6f3b516be0f47cae69e45f51f7ee7008d32427cd
parentb3bc154098f211db7014de151c79b4234ae5029b
FDC: Fix data transfer len (HervĂ© Poussineau)

In floppy controller, transfer data len is not correctly calculated.
We should read up to the last sector specified by the caller, and not up to
the last sector of the floppy.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4294 c046a42c-6fe2-441c-8c8c-71466251a162
hw/fdc.c