From 69823a60b04945462d035403d688a9ebf9019b7d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 25 May 2013 23:11:31 +0200 Subject: [PATCH] Pass correct type for RETRO_ENVIRONMENT_SET_MESSAGE --- frontend/libretro.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index 024ea7a5..62f968a8 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -844,8 +844,12 @@ void retro_init(void) else { SysPrintf("no BIOS files found.\n"); - const char *str = "no BIOS found, expect bugs!"; - environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&str); + struct retro_message msg = + { + "no BIOS found, expect bugs!", + 180 + }; + environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&msg); } level = 1; -- 2.39.5