gui2: added RootWindow_SetApp

This commit is contained in:
Martin Preuss
2026-03-04 23:35:18 +01:00
parent ae137efb26
commit 261ddba7c4

View File

@@ -103,6 +103,21 @@ RootWindow_GetApp:
; ---------------------------------------------------------------------------
; @routine RootWindow_SetApp @global
;
; @param Y address of widget
; @return R25:R24 address pointer to GuiApp
; @clobbers none
RootWindow_SetApp:
std Y+ROOTWINDOW_OFFS_GUIAPP_LO, r24
std Y+ROOTWINDOW_OFFS_GUIAPP_HI, r25
ret
; @end