Skip to content

Commit 4c0a2c5

Browse files
how about this
1 parent e8cb7ad commit 4c0a2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fileioc/fileioc.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ ti_Read:
587587
sbc hl, de
588588
add hl, de ; check if left size <= read size
589589
jr nc, .copy
590-
ex de, hl ; otherwise just copy remaining bytes
590+
jr .ret0 ; otherwise just return if not enough read space
591591
.copy:
592592
push de
593593
call util_get_data_offset

0 commit comments

Comments
 (0)