Firmware: Ignore empty updaters on discs

UMD Video discs ship an updater PARAM.SFO next to a 0-byte DATA.BIN, and PSN releases zero-fill it.
MountedDiscHasUpdater() only checked that DATA.BIN existed, so booting the EUR Video Demo Disc's
game with no firmware installed started an auto-install of "2.00" that failed with an OSD error.
It now wants a PSAR archive, like ReadBundledUpdateInfo() already did. The game info screen no
longer looks for an updater on UMD Video discs at all.

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:55:27 +02:00
1 parent c1ec2044db
commit dc41268bfc
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -881,7 +881,8 @@ handleELF:
// Most UMDs carry a firmware updater, which is a source of things like the
// system fonts. Just note down what's there - unpacking it is a separate step.
if (flags_ & GameInfoFlags::BUNDLED_UPDATE_INFO) {
// UMD Video discs only carry a placeholder (an empty DATA.BIN), so they're skipped.
if ((flags_ & GameInfoFlags::BUNDLED_UPDATE_INFO) && fileType != IdentifiedFileType::PSP_UMD_VIDEO_ISO) {
BundledUpdateInfo update;
ReadBundledUpdateInfo(&umd, "/", &update);
std::lock_guard<std::mutex> lock(info_->lock);