aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
authortwinaphex2013-05-25 23:00:18 +0200
committertwinaphex2013-05-25 23:00:18 +0200
commitc8a9b436fca00b2facf28dd3098ea09e3a732709 (patch)
tree36f0fcff48f7ddf8470109fab97a40400869f713 /frontend/libretro.c
parent6790d7fdb483f965f5054b94d3508eaee1c63b3e (diff)
downloadpcsx_rearmed-c8a9b436fca00b2facf28dd3098ea09e3a732709.tar.gz
pcsx_rearmed-c8a9b436fca00b2facf28dd3098ea09e3a732709.tar.bz2
pcsx_rearmed-c8a9b436fca00b2facf28dd3098ea09e3a732709.zip
Add system message warning if a BIOS file could not be found
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 16feeec..024ea7a 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);