fix loading files > 255 bytes long.

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-05 00:14:21 +09:30
1 parent f80b49b845
commit 5586e61ab9
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ load_loop:
;; Advance pointer
inc load_save_start_ptr
bne +
inc load_save_start_ptr
inc load_save_start_ptr+1
;; If we wrap around to $0000, then this is bad.
beq load_error
*