mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
BIOS: Add further detail to missing BIOS message
This commit is contained in:
parent
7b1ec5dab2
commit
a5f8684bcd
|
@ -421,8 +421,18 @@ std::optional<std::vector<u8>> BIOS::FindBIOSImageInDirectory(ConsoleRegion regi
|
||||||
|
|
||||||
if (!fallback_image.has_value())
|
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."),
|
Error::SetStringFmt(error, TRANSLATE_FS("System", "No BIOS image found for {} region."),
|
||||||
Settings::GetConsoleRegionName(region));
|
Settings::GetConsoleRegionName(region));
|
||||||
|
#endif
|
||||||
return fallback_image;
|
return fallback_image;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue