mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-19 02:22:48 +00:00
feat: truth includes systems with 0 files from resolved cores
This commit is contained in:
parent
cd2a3bdfa2
commit
f621f3db84
1 changed files with 13 additions and 0 deletions
|
|
@ -1360,6 +1360,19 @@ def generate_platform_truth(
|
|||
})
|
||||
sys_cov["profiled"].add(emu_name)
|
||||
|
||||
# Ensure all systems of resolved cores have entries (even with 0 files).
|
||||
# This documents that the system is covered — the core was analyzed and
|
||||
# needs no external files for this system.
|
||||
for emu_name in cores_profiled:
|
||||
profile = profiles[emu_name]
|
||||
for prof_sid in profile.get("systems", []):
|
||||
sys_id = _map_sys_id(prof_sid)
|
||||
systems.setdefault(sys_id, {})
|
||||
sys_cov = system_cores.setdefault(sys_id, {
|
||||
"profiled": set(), "unprofiled": set(),
|
||||
})
|
||||
sys_cov["profiled"].add(emu_name)
|
||||
|
||||
# Track unprofiled cores per system based on profile system lists
|
||||
for emu_name in cores_unprofiled:
|
||||
for sys_id in systems:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue