mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
A platform scan already clears `missing_from_fs` for an entry whose file came back under the same name, but the ROM is skipped by `should_scan_rom` so nothing emits `scan:scanning_rom` for it. An open gallery keeps showing the stale "missing" badge until a refetch, which reads as the platform scan ignoring missing games (a single-game scan does emit, and looks fixed). Snapshot the flagged ids before the pre-loop sync clears them, then emit for the restored entries after `bulk_mark_present`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>