From a69536d7f28f096b5bc9075abcb18821524ebdd8 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.2