From c8a9b436fca00b2facf28dd3098ea09e3a732709 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 25 May 2013 23:00:18 +0200 Subject: [PATCH] Add system message warning if a BIOS file could not be found --- frontend/libretro.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/libretro.c b/frontend/libretro.c index 16feeecf..024ea7a5 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -842,7 +842,11 @@ void retro_init(void) fclose(f); } else + { SysPrintf("no BIOS files found.\n"); + const char *str = "no BIOS found, expect bugs!"; + environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&str); + } level = 1; environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level); -- 2.39.5