BIOS: Add further detail to missing BIOS message

This commit is contained in:
Stenzek 2024-06-17 16:47:16 +10:00
parent 7b1ec5dab2
commit a5f8684bcd
No known key found for this signature in database

View file

@ -421,8 +421,18 @@ std::optional<std::vector<u8>> BIOS::FindBIOSImageInDirectory(ConsoleRegion regi
if (!fallback_image.has_value())
{
#ifndef __ANDROID__
Error::SetStringFmt(
error,
TRANSLATE_FS("System", "No BIOS image found for {} region.\n\nDuckStation requires a PS1 or PS2 BIOS in order to "
"run.\n\nFor legal reasons, you *must* obtain a BIOS from an actual PS1 unit that you own "
"(borrowing doesn't count).\n\nOnce dumped, this BIOS image should be placed in the bios "
"folder within the data directory (Tools Menu -> Open Data Directory)."),
Settings::GetConsoleRegionName(region));
#else
Error::SetStringFmt(error, TRANSLATE_FS("System", "No BIOS image found for {} region."),
Settings::GetConsoleRegionName(region));
#endif
return fallback_image;
}