From 82b510de0dbd5b66bf0ed2ff6eba74917fee7f1e Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 8 Aug 2026 13:23:06 +0200 Subject: [PATCH] fix: relocate gear family bios refs --- emulators/geargrafx.yml | 10 +++++----- emulators/gearlynx.yml | 4 ++-- emulators/gearsystem.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/emulators/geargrafx.yml b/emulators/geargrafx.yml index 248574b2..872a5f92 100644 --- a/emulators/geargrafx.yml +++ b/emulators/geargrafx.yml @@ -4,7 +4,7 @@ core_classification: official_port source: "https://github.com/drhelius/Geargrafx" upstream: "https://github.com/drhelius/Geargrafx" profiled_date: "2026-03-23" -source_commit: "4084ff459561e6a3584bce5d60d8e742d8c1810b" +source_commit: "b6a81478b54e27af7076b57fd6a8974a1c3f7137" core_version: "1.6.0" display_name: "NEC - PC Engine / SuperGrafx / CD (Geargrafx)" cores: @@ -41,7 +41,7 @@ files: size: 262144 required: true validation: [size, crc32] - source_ref: "platforms/libretro/libretro.cpp:581, platforms/libretro/libretro.cpp:599-601, media.cpp:241-307, src/defines.h:52, src/game_db.h:50, src/game_db.h:52" + source_ref: "platforms/libretro/libretro.cpp:581, platforms/libretro/libretro.cpp:599-601, src/media.cpp:339-436, src/defines.h:52, src/game_db.h:50, src/game_db.h:52" note: > Default BIOS for CD-ROM games (cdrom_bios Auto or System Card 3). game_db.h recognizes Japan (CRC32 6D9A73EF) and USA (CRC32 2B5B75FE) @@ -52,7 +52,7 @@ files: size: 262144 required: false validation: [size, crc32] - source_ref: "platforms/libretro/libretro.cpp:580, platforms/libretro/libretro.cpp:590-591, media.cpp:241-307, src/game_db.h:48-49, src/game_db.h:51" + source_ref: "platforms/libretro/libretro.cpp:580, platforms/libretro/libretro.cpp:590-591, src/media.cpp:339-436, src/game_db.h:48-49, src/game_db.h:51" note: > cdrom_bios = 'System Card 2'. For older CD-ROM2 titles. game_db.h recognizes three variants: v2.0 Japan (CRC32 52520BC6), v2.1 Japan @@ -63,7 +63,7 @@ files: size: 262144 required: false validation: [size, crc32] - source_ref: "platforms/libretro/libretro.cpp:579, platforms/libretro/libretro.cpp:587-588, media.cpp:241-307, src/game_db.h:47" + source_ref: "platforms/libretro/libretro.cpp:579, platforms/libretro/libretro.cpp:587-588, src/media.cpp:339-436, src/game_db.h:47" note: > cdrom_bios = 'System Card 1'. Very early CD-ROM2 games only. CRC32 3F9F95A4. @@ -73,7 +73,7 @@ files: size: 32768 required: false validation: [size, crc32] - source_ref: "platforms/libretro/libretro.cpp:582, platforms/libretro/libretro.cpp:596-597, libretro.cpp:481-482, media.cpp:241-307, src/defines.h:53, src/game_db.h:53-54" + source_ref: "platforms/libretro/libretro.cpp:582, platforms/libretro/libretro.cpp:596-597, libretro.cpp:481-482, src/media.cpp:339-436, src/defines.h:53, src/game_db.h:53-54" note: > Always loaded alongside the selected System Card BIOS (libretro.cpp:481). Required for Game Express CD-ROM titles. game_db.h recognizes Blue Version diff --git a/emulators/gearlynx.yml b/emulators/gearlynx.yml index d24dd31f..197a548b 100644 --- a/emulators/gearlynx.yml +++ b/emulators/gearlynx.yml @@ -3,7 +3,7 @@ type: libretro core_classification: official_port source: "https://github.com/drhelius/Gearlynx" profiled_date: "2026-03-23" -source_commit: "74b85cb73d915d2df9fa75acbcd5beb7b8eecdd6" +source_commit: "fe628a44b0391daff414b74b5f353d6f3b66a673" core_version: "1.0.0" display_name: "Atari - Lynx (GearLynx)" cores: [gearlynx] @@ -44,5 +44,5 @@ files: md5: "fcd403db69f54290b51035d82f835e7b" crc32: "0d973c9d" validation: [size, crc32] - source_ref: "libretro.cpp:105-129 (load_bootroms), media.cpp:274-329 (LoadBios), defines.h:52 (GLYNX_BIOS_SIZE=0x200), game_db.h:38 (GLYNX_DB_BIOS_CRC=0x0D973C9D), gearlynx_core_inline.h:33-37 (no-bios guard)" + source_ref: "platforms/libretro/libretro.cpp:160-202 (load_bootroms), src/media.cpp:504-546 (LoadBios), defines.h:52 (GLYNX_BIOS_SIZE=0x200), game_db.h:38 (GLYNX_DB_BIOS_CRC=0x0D973C9D), gearlynx_core_inline.h:33-37 (no-bios guard)" note: "512-byte boot ROM validated by CRC32 after load. Invalid CRC logs a warning but still works. Missing or wrong-size file blocks emulation entirely (no HLE fallback)." diff --git a/emulators/gearsystem.yml b/emulators/gearsystem.yml index e87b553c..99e1f5de 100644 --- a/emulators/gearsystem.yml +++ b/emulators/gearsystem.yml @@ -4,7 +4,7 @@ core_classification: official_port source: "https://github.com/drhelius/Gearsystem" upstream: "https://github.com/drhelius/Gearsystem" profiled_date: "2026-03-23" -source_commit: "7e98f6895cb5f95a666376e58480e12ddccb6663" +source_commit: "d547ae361bf242f25c45260aad29d4adc26e672a" core_version: "3.2.0" display_name: "Sega - MS/GG/SG-1000 (Gearsystem)" cores: @@ -34,12 +34,12 @@ files: - name: "bios.sms" system: sega-mastersystem required: false - source_ref: "platforms/libretro/libretro.cpp:534, 417 (load_bootroms)" + source_ref: "platforms/libretro/libretro.cpp:534, platforms/libretro/libretro.cpp:537 (load_bootroms)" - name: "bios.gg" system: sega-gamegear required: false - source_ref: "platforms/libretro/libretro.cpp:535, 418 (load_bootroms)" + source_ref: "platforms/libretro/libretro.cpp:814, platforms/libretro/libretro.cpp:537 (load_bootroms)" platform_details: mastersystem: