kernel: Ensure new_window doesn't clobber r0
This commit is contained in:
parent
a68e584c82
commit
b71d10ab63
|
@ -28,6 +28,7 @@ const TITLE_BAR_HEIGHT: 16
|
|||
; outputs:
|
||||
; none
|
||||
new_window:
|
||||
push r0
|
||||
push r1
|
||||
push r2
|
||||
push r3
|
||||
|
@ -140,6 +141,7 @@ new_window:
|
|||
pop r3
|
||||
pop r2
|
||||
pop r1
|
||||
pop r0
|
||||
ret
|
||||
|
||||
; destroy a window and free memory used by it
|
||||
|
|
Loading…
Reference in New Issue
Block a user