fs: allow fsNext to skip more than one block
When B>1, fsNext failed because HL was changed in the Seek call.
This commit is contained in:
parent
e18879fcb2
commit
ede228374c
@ -150,9 +150,9 @@ fsNext:
|
||||
; end of the line.
|
||||
call fsPlace
|
||||
ld b, a ; we will seek A times
|
||||
.loop:
|
||||
ld a, BLOCKDEV_SEEK_FORWARD
|
||||
ld hl, FS_BLOCKSIZE
|
||||
.loop:
|
||||
call fsblkSeek
|
||||
djnz .loop
|
||||
; Good, were here. We're going to read meta from our current position.
|
||||
|
Loading…
Reference in New Issue
Block a user