Warn the user if they try to run an extracted ISO, with a very in-your-face message.

Fixes #18735
This commit is contained in:
Henrik Rydgård committed 2024-01-20 23:01:08 +01:00
1 parent 97647a561d
commit 55adcb1a13
4 files changed
+12 -2

No files matched your search

+5 -1
View File
@@ -273,6 +273,11 @@ void EmuScreen::bootGame(const Path &filename) {
if (!info || info->pending)
return;
auto sc = GetI18NCategory(I18NCat::SCREEN);
if (info->fileType == IdentifiedFileType::PSP_DISC_DIRECTORY) {
g_OSD.Show(OSDType::MESSAGE_CENTERED_WARNING, sc->T("Warning: Extracted ISOs often don't work. Play the ISO file directly."), 7.0f);
}
extraAssertInfoStr_ = info->id + " " + info->GetTitle();
SetExtraAssertInfo(extraAssertInfoStr_.c_str());
@@ -283,7 +288,6 @@ void EmuScreen::bootGame(const Path &filename) {
g_Discord.SetPresenceGame(info->GetTitle().c_str());
} else {
auto sc = GetI18NCategory(I18NCat::SCREEN);
g_Discord.SetPresenceGame(sc->T("Untitled PSP game"));
}