File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -1159,42 +1159,36 @@ ret: rts
1159
1159
1160
1160
;; Verify file is a directory
1161
1161
jsr GetFileInfo
1162
- beq :+
1163
- rts
1164
- :
1162
+ bne ret1
1163
+
1165
1164
lda gfi_file_type
1166
1165
cmp #FT_DIR
1167
1166
beq open
1168
1167
lda #ERR_INCOMPATIBLE_FILE_FORMAT
1169
- rts
1168
+ ret1: rts
1170
1169
1171
1170
;; Use current prefix
1172
1171
use_prefix:
1173
1172
MLI_CALL GET_PREFIX, prefix_params
1174
- beq :+
1175
- rts
1176
- :
1173
+ bne ret1
1177
1174
1178
1175
ENTRY_BUFFER := PATHBUF
1179
1176
1180
1177
open: jsr Open
1181
- beq :+
1182
- rts
1183
- :
1178
+ bne ret1
1179
+
1184
1180
COPY16 #ENTRY_BUFFER, rw_data_buffer
1185
1181
1186
1182
;; Skip block pointers
1187
1183
COPY16 #4 , rw_request_count
1188
1184
jsr Read
1189
- beq :+
1190
- rts
1191
- :
1185
+ bne ret1
1186
+
1192
1187
;; Read header
1193
1188
COPY16 #FILE_ENTRY_SIZE, rw_request_count
1194
1189
jsr Read
1195
- beq :+
1196
- rts
1197
- :
1190
+ bne ret1
1191
+
1198
1192
jsr intbasic ::MON_CROUT
1199
1193
lda ENTRY_BUFFER + $00 ; storage_type / name_length
1200
1194
and #$F0
You can’t perform that action at this time.
0 commit comments