* fix(scan): fetch file rows per rom on quick scans
A quick scan loaded every file row of a 200-rom batch up front, so a
platform with a few extracted multi-file games held hundreds of thousands
of RomFile objects at once and the worker was OOM-killed. Each rom now
fetches its own rows inside the scan semaphore, capping the rows held to
SCAN_WORKERS roms.
Refs #5706
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style(scan): shorten the batch lookup comment
Addresses Greptile's review on #5725.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>