gui2: use bigcall (code becomes too large for rjmp/rcall).
This commit is contained in:
@@ -284,10 +284,10 @@ imageViewGetRessource:
|
||||
|
||||
imageViewAlignContentXY:
|
||||
rcall imageViewGetImageWidth ; R13:R12=width (r16, r17, r18, Z)
|
||||
rcall Widget_PackContentX ; R5:R4=X (r17, r18, r19, r20, r21)
|
||||
bigcall Widget_PackContentX ; R5:R4=X (r17, r18, r19, r20, r21)
|
||||
|
||||
rcall imageViewGetImageHeight ; R13:R12=height (r16, r17, r18, Z)
|
||||
rcall Widget_PackContentY ; R7:R6=Y (r17, r18, r19, r20, r21)
|
||||
bigcall Widget_PackContentY ; R7:R6=Y (r17, r18, r19, r20, r21)
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user