Commit 4be9a500e7db7a16807d7bbeaa9e7f87ab4af5f7

Authored by pbrook
1 parent 7c22dd52

Fix partial transfer bug.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1943 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 1 deletions
hw/esp.c
@@ -214,7 +214,6 @@ static void handle_ti(ESPState *s) @@ -214,7 +214,6 @@ static void handle_ti(ESPState *s)
214 } 214 }
215 if (s->ti_size) { 215 if (s->ti_size) {
216 s->rregs[4] = STAT_IN | STAT_TC | (to_device ? STAT_DO : STAT_DI); 216 s->rregs[4] = STAT_IN | STAT_TC | (to_device ? STAT_DO : STAT_DI);
217 - s->ti_size -= minlen;  
218 } 217 }
219 s->rregs[5] = INTR_BS; 218 s->rregs[5] = INTR_BS;
220 s->rregs[6] = 0; 219 s->rregs[6] = 0;