From b17ce03dd94112dc0c39efa24aba2ff08b90bd33 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 5 Sep 2026 08:56:24 +0200 Subject: [PATCH] chore: follow the gearlynx no-bios guard out of the header The guard left gearlynx_core_inline.h for gearlynx_core.cpp, and the line the tool proposed in its place is SynchronizeComLynx. Following the content rather than the offer puts it at 249-253. --- emulators/gearlynx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emulators/gearlynx.yml b/emulators/gearlynx.yml index 5ee074fb..e07ab151 100644 --- a/emulators/gearlynx.yml +++ b/emulators/gearlynx.yml @@ -26,7 +26,7 @@ notes: | No HLE fallback. If the BIOS is not loaded (IsBiosLoaded() returns false), RunToVBlank in - gearlynx_core_inline.h:31-37 renders a static "no bios" image + src/gearlynx_core.cpp:247-255 renders a static "no bios" image and returns false, refusing to emulate. The BIOS is required for any ROM to run. Homebrew (.o, BS93 format) bypasses the normal boot sequence via PrepareForHomebrew() but still requires the BIOS @@ -44,5 +44,5 @@ files: md5: "fcd403db69f54290b51035d82f835e7b" crc32: "0d973c9d" validation: [size, crc32] - source_ref: "platforms/libretro/libretro.cpp:160-202 (load_bootroms), src/media.cpp:504-546 (LoadBios), src/defines.h:52 (GLYNX_BIOS_SIZE=0x200), src/game_db.h:38 (GLYNX_DB_BIOS_CRC=0x0D973C9D), src/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), src/defines.h:52 (GLYNX_BIOS_SIZE=0x200), src/game_db.h:38 (GLYNX_DB_BIOS_CRC=0x0D973C9D), src/gearlynx_core.cpp:249-253 (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)."