Files
romm/backend/endpoints/sockets
Georges-Antoine Assi f6002a76a3 fix(switch): explain why encrypted dumps get no title id (#5428)
* fix(switch): explain why encrypted dumps get no title id

RomM doesn't read prod.keys, so encrypted retail NSP/XCI dumps resolve no
title id, and nothing said so. A scan now logs one info line counting the
encrypted Switch files it skipped, a Switch game without a title id says
why on its metadata tab, and key files in the Firmware tab are marked as
not used by RomM.

Fixes #5330

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(switch): keep each scan's encrypted file count separate

Addresses Greptile's review on #5428: scans overlapping in one process
(DEV_MODE) shared the module-level set, so a second scan's begin_scan
cleared the first's count. The set now lives in a context var that each
scan's rom tasks inherit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:22:23 -05:00
..