UI: Play UMD Video discs in the XMB, straight from the game list

With firmware 2.71 or later installed, picking a UMD Video disc boots the XMB with the disc in the
drive and UMD auto-start forced on for that boot, so the disc's menu comes up. Without one, the
info screen saying UMD Video isn't supported shows as before. The info screen's Play does the same.

A disc with both a game and video asks which to start. For the video, the XMB comes up with
auto-start forced off, since auto-start runs the game.

Older firmware can't play these: 1.50, 2.00 and 2.60 crash in video_plugin or paf with a video disc
in the drive, and 2.50 refuses it. 2.71 through 6.61 reach Bourne Supremacy's menu.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-23 10:46:59 +02:00
1 parent bf1f88d6e6
commit d331bd6c8c
10 files changed
+105 -16

No files matched your search

+4 -2
View File
@@ -161,8 +161,8 @@ void EmuScreen::SetPSPAnalog(int iInternalScreenRotation, int stick, float x, fl
__CtrlSetAnalogXY(stick, x, y);
}
EmuScreen::EmuScreen(const Path &filename, const Path &mountIso)
: gamePath_(filename), mountIso_(mountIso) {
EmuScreen::EmuScreen(const Path &filename, const Path &mountIso, std::optional<bool> umdAutoboot)
: gamePath_(filename), mountIso_(mountIso), umdAutoboot_(umdAutoboot) {
saveStateSlot_ = SaveState::GetCurrentSlot();
g_controlMapper.AddListener(this);
@@ -322,6 +322,7 @@ void EmuScreen::ProcessGameBoot(const Path &filename) {
coreParam.enableSound = g_Config.bEnableSound;
coreParam.fileToStart = filename;
coreParam.mountIso = mountIso_;
coreParam.umdAutoboot = umdAutoboot_;
coreParam.mountRoot = g_Config.mountRoot;
coreParam.startBreak = !g_Config.bAutoRun;
coreParam.headLess = false;
@@ -620,6 +621,7 @@ void EmuScreen::sendMessage(UIMessage message, const char *value) {
bootIsReset_ = false;
gamePath_ = newGamePath;
mountIso_.clear();
umdAutoboot_.reset();
}
} else if (message == UIMessage::CONFIG_LOADED) {
// In case we need to position touch controls differently.