mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2024-06-08 15:29:30 +00:00
fix line-ending support
This commit is contained in:
parent
ffb0e13217
commit
c9dce65e42
|
@ -82,11 +82,11 @@ LoadCredits
|
|||
inc PARAM0
|
||||
bne +
|
||||
inc PARAM1
|
||||
+ cmp #$0A
|
||||
beq ++ ; ignore LF entirely
|
||||
+ cmp #$0D
|
||||
beq ++ ; ignore CR entirely
|
||||
ora #$80 ; set bit 7
|
||||
tax
|
||||
- cpx #$8D ; watch for CR
|
||||
- cpx #$8A ; watch for LF
|
||||
php
|
||||
bne +
|
||||
lda #$A0 ; switch to spaces
|
||||
|
|
Loading…
Reference in New Issue
Block a user