From 5bd94f9fa3f244f3f091f5c56887586c0ecf9b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 23 Oct 2026 11:42:58 +0200 Subject: [PATCH] Recents: Add UMD Video discs played in the XMB Picking one boots vshmain.prx with the disc mounted, and only the file booted went into Recents (minus vshmain.prx itself), so the disc never did. Co-Authored-By: Claude Opus 5.5 (1M context) --- Core/System.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/System.cpp b/Core/System.cpp index f3d758cd69..f4996d99a4 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -663,6 +663,10 @@ static bool CPU_Init(FileLoader *fileLoader, IdentifiedFileType type, std::strin if (g_CoreParameter.updateRecent) { g_recentFiles.Add(g_CoreParameter.fileToStart.ToString()); + // A UMD Video disc picked from the game list boots the XMB (which Add skips) to play it. + if (!g_CoreParameter.mountIso.empty() && g_CoreParameter.umdAutoboot.has_value()) { + g_recentFiles.Add(g_CoreParameter.mountIso.ToString()); + } } // Update things that depend on game-specific config here.