bsl: add missing address increment.

This commit is contained in:
Daniel Beer 2013-12-05 11:13:52 +13:00
parent 5c1805ff2b
commit 74d01ff269
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ static int bsl_readmem(device_t dev_base,
memcpy(mem, dev->reply_buf + 4, count); memcpy(mem, dev->reply_buf + 4, count);
mem += count; mem += count;
len -= count; len -= count;
addr += count;
} }
return 0; return 0;