Mercurial > public > hwos_code
diff src/menu_processor.inc @ 643:7d8a4c60ec1a
3.15 release
author | heinrichsweikamp |
---|---|
date | Mon, 24 May 2021 18:40:53 +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 Mon May 24 18:40:53 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