From 29881fb7c920a65004ee45a16e6769147367ce38 Mon Sep 17 00:00:00 2001 From: jede Date: Sun, 29 Jan 2017 22:28:54 +0100 Subject: [PATCH] Revert --- libsrc/common/fread.s | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/libsrc/common/fread.s b/libsrc/common/fread.s index b87cc5cb4..91d692985 100644 --- a/libsrc/common/fread.s +++ b/libsrc/common/fread.s @@ -173,16 +173,13 @@ ; Read was ok, account for the pushed back character (if any). -@L8: - add pb +@L8: add pb bcc @L9 inx ; Check for end of file. -@L9: - - cmp #0 ; Zero bytes read? +@L9: cmp #0 ; Zero bytes read? bne @L10 cpx #0 bne @L10 @@ -195,10 +192,7 @@ ; Return the number of items successfully read. Since we've checked for ; bytes == 0 above, size cannot be zero here, so the division is safe. -@L10: - - - jsr pushax ; Push number of bytes read +@L10: jsr pushax ; Push number of bytes read ldy #5 jsr ldaxysp ; Get size jsr tosudivax ; bytes / size -> a/x -- 2.39.5