aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2013-05-25 23:00:18 +0200
committernotaz2013-05-26 19:03:57 +0300
commita69536d7f28f096b5bc9075abcb18821524ebdd8 (patch)
tree23bae317862ba7f78165e0344ae7cd808fda7f8b
parent094ec2043e80c12a5b692c6b9db791b7ae4df8e2 (diff)
downloadpcsx_rearmed-a69536d7f28f096b5bc9075abcb18821524ebdd8.tar.gz
pcsx_rearmed-a69536d7f28f096b5bc9075abcb18821524ebdd8.tar.bz2
pcsx_rearmed-a69536d7f28f096b5bc9075abcb18821524ebdd8.zip
Add system message warning if a BIOS file could not be found
-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);