VMManager: Flag BIOS missing error for translation

This commit is contained in:
Stenzek 2023-07-09 20:59:59 +10:00 committed by Connor McLaughlin
parent 6edba3820b
commit 8f0901e7a5
1 changed files with 8 additions and 11 deletions

View File

@ -1126,17 +1126,14 @@ bool VMManager::Initialize(VMBootParameters boot_params)
Console.WriteLn("Loading BIOS..."); Console.WriteLn("Loading BIOS...");
if (!LoadBIOS()) if (!LoadBIOS())
{ {
// TODO: When we translate core strings, translate this. Host::ReportErrorAsync(TRANSLATE_SV("VMManager", "Error"),
TRANSLATE_SV("VMManager",
const char* message = "PCSX2 requires a PS2 BIOS in order to run.\n\n"
"PCSX2 requires a PS2 BIOS in order to run.\n\n" "For legal reasons, you *must* obtain a BIOS from an actual PS2 unit that you own (borrowing "
"For legal reasons, you *must* obtain a BIOS from an actual PS2 unit that you own (borrowing " "doesn't count).\n\n"
"doesn't count).\n\n" "Once dumped, this BIOS image should be placed in the bios folder within the data directory "
"Once dumped, this BIOS image should be placed in the bios folder within the data directory " "(Tools Menu -> Open Data Directory).\n\n"
"(Tools Menu -> Open Data Directory).\n\n" "Please consult the FAQs and Guides for further instructions."));
"Please consult the FAQs and Guides for further instructions.";
Host::ReportErrorAsync("Startup Error", message);
return false; return false;
} }
} }