mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
VMManager: More helpful error message on no BIOS present
Some checks failed
🐧 Linux Builds / AppImage (push) Has been cancelled
🐧 Linux Builds / Flatpak (push) Has been cancelled
🍎 MacOS Builds / Defaults (push) Has been cancelled
🖥️ Windows Builds / Lint VS Project Files (push) Has been cancelled
🖥️ Windows Builds / CMake (push) Has been cancelled
🖥️ Windows Builds / SSE4 (push) Has been cancelled
🖥️ Windows Builds / AVX2 (push) Has been cancelled
Some checks failed
🐧 Linux Builds / AppImage (push) Has been cancelled
🐧 Linux Builds / Flatpak (push) Has been cancelled
🍎 MacOS Builds / Defaults (push) Has been cancelled
🖥️ Windows Builds / Lint VS Project Files (push) Has been cancelled
🖥️ Windows Builds / CMake (push) Has been cancelled
🖥️ Windows Builds / SSE4 (push) Has been cancelled
🖥️ Windows Builds / AVX2 (push) Has been cancelled
This commit is contained in:
parent
a5984d8213
commit
b003eadd2d
@ -8,5 +8,6 @@
|
|||||||
#define PCSX2_GITHUB_URL "https://github.com/PCSX2/pcsx2"
|
#define PCSX2_GITHUB_URL "https://github.com/PCSX2/pcsx2"
|
||||||
#define PCSX2_LICENSE_URL "https://github.com/PCSX2/pcsx2/blob/master/pcsx2/Docs/License.txt"
|
#define PCSX2_LICENSE_URL "https://github.com/PCSX2/pcsx2/blob/master/pcsx2/Docs/License.txt"
|
||||||
#define PCSX2_DOCUMENTATION_URL "https://pcsx2.net/docs"
|
#define PCSX2_DOCUMENTATION_URL "https://pcsx2.net/docs"
|
||||||
|
#define PCSX2_DOCUMENTATION_BIOS_URL_SHORTENED "pcsx2.net/docs/setup/bios"
|
||||||
#define PCSX2_WIKI_URL "https://wiki.pcsx2.net/Main_Page"
|
#define PCSX2_WIKI_URL "https://wiki.pcsx2.net/Main_Page"
|
||||||
#define PCSX2_DISCORD_URL "https://pcsx2.net/discord"
|
#define PCSX2_DISCORD_URL "https://pcsx2.net/discord"
|
||||||
|
|||||||
@ -37,6 +37,7 @@
|
|||||||
#include "SIO/Sio0.h"
|
#include "SIO/Sio0.h"
|
||||||
#include "SIO/Sio2.h"
|
#include "SIO/Sio2.h"
|
||||||
#include "SPU2/spu2.h"
|
#include "SPU2/spu2.h"
|
||||||
|
#include "SupportURLs.h"
|
||||||
#include "USB/USB.h"
|
#include "USB/USB.h"
|
||||||
#include "Vif_Dynarec.h"
|
#include "Vif_Dynarec.h"
|
||||||
#include "VMManager.h"
|
#include "VMManager.h"
|
||||||
@ -1353,14 +1354,13 @@ bool VMManager::Initialize(VMBootParameters boot_params)
|
|||||||
Console.WriteLn("Loading BIOS...");
|
Console.WriteLn("Loading BIOS...");
|
||||||
if (!LoadBIOS())
|
if (!LoadBIOS())
|
||||||
{
|
{
|
||||||
Host::ReportErrorAsync(TRANSLATE_SV("VMManager", "Error"),
|
Host::ReportErrorAsync(TRANSLATE_SV("VMManager", "Error – No BIOS Present"),
|
||||||
TRANSLATE_SV("VMManager",
|
fmt::format(TRANSLATE_FS("VMManager",
|
||||||
"PCSX2 requires a PS2 BIOS in order to run.\n\n"
|
"PCSX2 requires a PlayStation 2 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 will need to obtain this BIOS from a PlayStation 2 unit which you own.\n\n"
|
||||||
"doesn't count).\n\n"
|
"For step-by-step help with this process, please consult the setup guide at {}.\n\n"
|
||||||
"Once dumped, this BIOS image should be placed in the bios folder within the data directory "
|
"PCSX2 will be able to run once you've placed your BIOS image inside the folder named \"bios\" within the data directory "
|
||||||
"(Tools Menu -> Open Data Directory).\n\n"
|
"(Tools Menu -> Open Data Directory)."), PCSX2_DOCUMENTATION_BIOS_URL_SHORTENED));
|
||||||
"Please consult the FAQs and Guides for further instructions."));
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user