mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2024-06-02 00:41:37 +00:00
Fix support for 'h' length modifier in scanf.
This got broken when adding support for 'hh'.
This commit is contained in:
parent
57e8a686f8
commit
2d20af84fd
|
@ -5367,13 +5367,13 @@ fm3 cmp #'h' else if it is an 'h' then
|
||||||
lda [format]
|
lda [format]
|
||||||
and #$00FF
|
and #$00FF
|
||||||
cmp #'h'
|
cmp #'h'
|
||||||
bne fm4
|
bne fm6
|
||||||
dec ~size
|
dec ~size
|
||||||
fm4 inc4 format ignore the character
|
fm4 inc4 format ignore the character
|
||||||
|
|
||||||
fm5 lda [format] find the proper format character
|
fm5 lda [format] find the proper format character
|
||||||
and #$00FF
|
and #$00FF
|
||||||
inc4 format
|
fm6 inc4 format
|
||||||
ldx #fListEnd-fList-4
|
ldx #fListEnd-fList-4
|
||||||
fm7 cmp fList,X
|
fm7 cmp fList,X
|
||||||
beq fm8
|
beq fm8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user