Neaten up some error conditions

This commit is contained in:
Elliot Nunn 2020-10-10 12:03:17 +08:00
parent 8173edd308
commit 4640a73484

View File

@ -155,6 +155,7 @@ getSysVol
; Create a DQE ; Create a DQE
move.l #$16,D0 move.l #$16,D0
dc.w $A71E ; _NewPtr ,Sys,Clear dc.w $A71E ; _NewPtr ,Sys,Clear
bne error
add.l #4,A0 ; has some cheeky flags at negative offset add.l #4,A0 ; has some cheeky flags at negative offset
move.l A0,A2 move.l A0,A2
@ -228,10 +229,10 @@ mountSysVol
clr.l $366 clr.l $366
; MountVol ; MountVol
lea -$32(A6),A0
bsr clearblock bsr clearblock
move.w D3,$16(A0) ; ioVRefNum = ioDrvNum = the drive number move.w D3,$16(A0) ; ioVRefNum = ioDrvNum = the drive number
dc.w $A00F ; _MountVol dc.w $A00F ; _MountVol
bne error
; Restore the FS queue ; Restore the FS queue
move.l (SP)+,$366 move.l (SP)+,$366