mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2025-03-08 03:29:22 +00:00
Fix BootPicker show-stopper
We were trashing our return registers at the last moment.
This commit is contained in:
parent
36c5a9914b
commit
ba0880d773
@ -222,10 +222,14 @@ _BoundaryLabelAtStartOfBootPicker_
|
||||
|
||||
; The selected procedure will jump to here after setting A6,A0,D0
|
||||
.ReturnToCaller
|
||||
movem.l A0/D0,-(SP) ; save/restore our return values
|
||||
|
||||
move.w #$A8AD,D0 ; Unpatch _PtInRect
|
||||
move.l $9CE+4,A0 ; We saved it in ToolScratch
|
||||
dc.w $A047 ; _SetTrapAddress
|
||||
|
||||
movem.l (SP)+,A0/D0
|
||||
|
||||
unlk A6 ; See the saving code for details
|
||||
move.l (SP)+,$2BA
|
||||
move.l (SP)+,$9CE+4
|
||||
|
Loading…
x
Reference in New Issue
Block a user