mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
A scan flags firmware whose file vanished, but nothing could act on the flag: stale BIOS entries could only be found by opening each platform's Firmware tab one at a time, the player still offered them (auto-selecting the sole entry, so the game failed to boot with nothing pointing at the BIOS), and platform firmware counts included them. Adds a `missing` filter to the firmware list endpoint, a `cleanup_missing_firmware` manual task alongside the ROM one, and a Missing firmware tab in Library management that lists every flagged entry library-wide with a bulk cleanup. The player now asks for present firmware only, and firmware selection moved to a `playerFirmware` util that never picks a missing entry. `firmware_count` counts only firmware present on disk; the rows themselves still ship so the Firmware tab can strike them through. `FirmwareSchema` gains `platform_id` so the library-wide list can group by platform. Fixes #4075 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>