fix: correct type and path fields across 58 emulator profiles

49 libretro cores had type: game/utility/test instead of type: libretro,
breaking the all_libretro filtering in resolve_platform_cores and
excluding them from platform packs (e.g. cannonball missing from
RetroArch). core_classification already carries the descriptive role.

9 profiles with subdirectory-loading cores (cannonball/, nxengine/,
Citra/sysdata/, mame2003/, mame2003-plus/, mame2010/) now have path:
fields so cross-reference places files at the correct destination.

resolve_local_file now tries basename when name contains a path
separator (e.g. res/tilemap.bin -> tilemap.bin), fixing resolution
of files with subdirectory names.
This commit is contained in:
Abdessamad Derraz
2026-03-29 09:53:46 +02:00
parent 36f6ad1379
commit b7528a71e7
58 changed files with 125 additions and 49 deletions
+2
View File
@@ -56,12 +56,14 @@ notes: |
files:
# Data files (system_dir/mame2010/)
- name: hiscore.dat
path: "mame2010/hiscore.dat"
required: false
category: game_data
source_ref: "src/emu/hiscore.c:25,353-358"
note: "high score definitions, embedded in binary by default, external via core option mame-external_hiscore"
- name: cheat.zip
path: "mame2010/cheat.zip"
required: false
category: game_data
source_ref: "src/emu/cheat.c:1027"