mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2024-06-09 02:29:32 +00:00
fopen: do not require read access when opening a file for append only.
This can cause an error if the file's permissions deny read access.
This commit is contained in:
parent
717cf99071
commit
e9de42d6c4
|
@ -763,10 +763,9 @@ OSname equ 11 pointer to the GS/OS file name
|
||||||
lda [type] make sure the file type is in ['a','r','w']
|
lda [type] make sure the file type is in ['a','r','w']
|
||||||
and #$00FF
|
and #$00FF
|
||||||
sta fileType
|
sta fileType
|
||||||
ldx #$0003
|
ldx #$0002
|
||||||
cmp #'a'
|
cmp #'a'
|
||||||
beq cn1
|
beq cn1
|
||||||
ldx #$0002
|
|
||||||
cmp #'w'
|
cmp #'w'
|
||||||
beq cn1
|
beq cn1
|
||||||
ldx #$0001
|
ldx #$0001
|
||||||
|
|
Loading…
Reference in New Issue
Block a user