aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 024ea7a..62f968a 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;