\r
/* ***************************************** */\r
\r
\r
/* ***************************************** */\r
\r
-static void draw_menu_credits(void (*draw_more)(void))\r
+static void draw_menu_message(const char *msg, void (*draw_more)(void))\r
- const char *creds, *p;\r
- p = creds = plat_get_credits();\r
-\r
for (h = 1, w = 0; *p != 0; h++) {\r
for (wt = 0; *p != 0 && *p != '\n'; p++)\r
wt++;\r
for (h = 1, w = 0; *p != 0; h++) {\r
for (wt = 0; *p != 0 && *p != '\n'; p++)\r
wt++;\r
\r
menu_draw_begin(1);\r
\r
\r
menu_draw_begin(1);\r
\r
- for (p = creds; *p != 0 && y <= g_menuscreen_h - me_mfont_h; y += me_mfont_h) {\r
+ for (p = msg; *p != 0 && y <= g_menuscreen_h - me_mfont_h; y += me_mfont_h) {\r
text_out16(x, y, p);\r
\r
for (; *p != 0 && *p != '\n'; p++)\r
text_out16(x, y, p);\r
\r
for (; *p != 0 && *p != '\n'; p++)\r
}
break;
case MA_MAIN_CREDITS:
}
break;
case MA_MAIN_CREDITS:
+ draw_menu_message(, NULL);
in_menu_wait(PBTN_MOK|PBTN_MBACK, 70);
break;
case MA_MAIN_EXIT:
in_menu_wait(PBTN_MOK|PBTN_MBACK, 70);
break;
case MA_MAIN_EXIT:
unsigned int plat_get_ticks_us(void);
void plat_wait_till_us(unsigned int us);
unsigned int plat_get_ticks_us(void);
void plat_wait_till_us(unsigned int us);
-const char *plat_get_credits(void);
void plat_debug_cat(char *str);
#ifdef __cplusplus
void plat_debug_cat(char *str);
#ifdef __cplusplus