diff src/menu_processor.inc @ 646:5b7fe7777425

3.16 release
author heinrichs weikamp
date Thu, 14 Oct 2021 12:03:24 +0200
parents 4050675965ea
children 75e90cd0c2c3
line wrap: on
line diff
--- a/src/menu_processor.inc	Thu Jan 14 16:24:07 2021 +0100
+++ b/src/menu_processor.inc	Thu Oct 14 12:03:24 2021 +0200
@@ -53,7 +53,7 @@
 ;
 ; nb_items         number of menu items that will follow
 ;
-MENU_BEGIN_DIVE	MACRO nb_items
+MENU_BEGIN_DIVE	MACRO title_text_addr, nb_items
 
 items_target set nb_items
 items_count  set 0
@@ -67,12 +67,13 @@
 	ENDIF
 
 	; store code for menu execution
+	extern	title_text_addr			; 2 byte address of multi-lingual title text
 	extern	menu_processor
 	call	menu_processor
 
 	; store menu header data
 	db	nb_items,				0x00					; number of items, encoding for no menu titel
-
+	db	low(title_text_addr),	high(title_text_addr)	; address of multi-lingual title text
 	ENDM