bsl: add missing address increment.
This commit is contained in:
parent
5c1805ff2b
commit
74d01ff269
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue