gui: fixed CFLAG return value.

This commit is contained in:
Martin Preuss
2026-04-30 00:08:22 +02:00
parent 7173ea14ac
commit 5767329895
3 changed files with 24 additions and 3 deletions

View File

@@ -75,7 +75,8 @@ HLayout_Init:
; call base class
bigcall Widget_Init ; (r16, r17, X)
pop r20
brcc HLayout_Init_ret
; set widget-specific data
std Y+HLAYOUT_OFFS_MODE, r20
@@ -85,6 +86,7 @@ HLayout_Init:
ldi r16, HIGH(HLayout_DefaultSignalmap*2)
std Y+OBJECT_OFFS_SIGNALMAP_HI, r16
HLayout_Init_ret:
ret
; @end