Add system message warning if a BIOS file could not be found
[pcsx_rearmed.git] / frontend / libretro.c
index 16feeec..024ea7a 100644 (file)
@@ -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);