Skip to content

Commit cb63856

Browse files
Merge pull request #125 from zohassadar/floor-sec
set carry before subtract in floor
2 parents e9fd7d7 + 3be82a6 commit cb63856

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modes/floor.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ drawFloor:
44
; get correct offset
55
sta tmp1
66
lda #$D
7+
sec
78
sbc tmp1
89
tax
910
; x10

0 commit comments

Comments
 (0)