diff options
author | notaz | 2011-03-01 17:20:01 +0200 |
---|---|---|
committer | notaz | 2011-03-01 17:35:19 +0200 |
commit | 4f5a1b2a86d077d32086de91f487a2ee5270714d (patch) | |
tree | 5d98227ac5afa332cdd5ddf5706f231b04ecfa4c /frontend/common | |
parent | e3d0da2638cc4c97ccb1f577b4c54363ec69c5a6 (diff) | |
download | pcsx_rearmed-4f5a1b2a86d077d32086de91f487a2ee5270714d.tar.gz pcsx_rearmed-4f5a1b2a86d077d32086de91f487a2ee5270714d.tar.bz2 pcsx_rearmed-4f5a1b2a86d077d32086de91f487a2ee5270714d.zip |
frontend: add BIOS warning
this will hopefully reduce forum load
Diffstat (limited to 'frontend/common')
-rw-r--r-- | frontend/common/menu.c | 9 | ||||
-rw-r--r-- | frontend/common/plat.h | 1 |
2 files changed, 4 insertions, 6 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c index 31522f7..b05c755 100644 --- a/frontend/common/menu.c +++ b/frontend/common/menu.c @@ -640,13 +640,12 @@ static void me_loop(menu_entry *menu, int *menu_sel, void (*draw_more)(void)) /* ***************************************** */
-static void draw_menu_credits(void (*draw_more)(void))
+static void draw_menu_message(const char *msg, void (*draw_more)(void))
{
- const char *creds, *p;
int x, y, h, w, wt;
+ const char *p;
- p = creds = plat_get_credits();
-
+ p = msg;
for (h = 1, w = 0; *p != 0; h++) {
for (wt = 0; *p != 0 && *p != '\n'; p++)
wt++;
@@ -665,7 +664,7 @@ static void draw_menu_credits(void (*draw_more)(void)) menu_draw_begin(1);
- for (p = creds; *p != 0 && y <= g_menuscreen_h - me_mfont_h; y += me_mfont_h) {
+ for (p = msg; *p != 0 && y <= g_menuscreen_h - me_mfont_h; y += me_mfont_h) {
text_out16(x, y, p);
for (; *p != 0 && *p != '\n'; p++)
diff --git a/frontend/common/plat.h b/frontend/common/plat.h index 0357040..0a9fc0b 100644 --- a/frontend/common/plat.h +++ b/frontend/common/plat.h @@ -50,7 +50,6 @@ unsigned int plat_get_ticks_ms(void); 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 |