mirror of
https://github.com/a2-4am/passport.git
synced 2025-02-23 12:29:07 +00:00
fix hard-disk image numbering
This commit is contained in:
parent
23500497b2
commit
aa5781ac15
@ -123,9 +123,9 @@ CreateFileOnHardDisk
|
||||
@nextDigit
|
||||
inc HardDiskImagePath-4, x
|
||||
lda HardDiskImagePath-4, x
|
||||
cmp #'9'+1
|
||||
cmp #$39+1 ; '9'+1
|
||||
bcc @findSpare ; loop back to check if new filename exists
|
||||
lda #'0'
|
||||
lda #$30 ; '0'
|
||||
sta HardDiskImagePath-4, x
|
||||
dex
|
||||
bne @nextDigit
|
||||
|
Loading…
x
Reference in New Issue
Block a user