fix: drop the gba_bios.bin alias of nanoboyadvance

NanoBoyAdvance opens general.bios_path, default bios.bin (src/platform/core/src/config.cpp:36 at 3bb6f478). gba_bios.bin is the path ROCKNIX's config.toml sets, recorded under launchers: in rocknix.yml.

Without the alias the entry met only PCem's and QEMU's bios.bin, 64 and 128 KB, which BIOSLoader refuses (bios.cpp:17-48). verify counted it held by name, so the launcher layer left it alone and the ROCKNIX pack gained PCem's image. A hashless entry whose every same-named copy fails its size is now not held, and the gba_bios.bin ROCKNIX declares settles it.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 10:14:15 +02:00
1 parent b4a88798de
commit 3ccee1b216
3 files changed
+31 -5

No files matched your search

+1 -5
View File
@@ -30,18 +30,14 @@ notes: |
ref: src/platform/core/src/loader/bios.cpp:17-48, src/platform/sdl/main.cpp:177-192,
src/nba/src/core.cpp:42-44
ROCKNIX patches config.toml and keymap.toml to /storage/.config/nanoboyadvance/
and its config.toml sets bios_path = /storage/roms/bios/gba_bios.bin.
files:
- name: "bios.bin"
path: "bios.bin"
aliases: ["gba_bios.bin"]
system: nintendo-gba
required: true
size: 16384
validation: [size]
config_key: "general.bios_path"
description: "Game Boy Advance BIOS"
note: "Any file name through general.bios_path or --bios, or bios.bin beside the executable when neither is set. ROCKNIX points the key at gba_bios.bin in its BIOS directory."
note: "Any file name through general.bios_path or --bios, or bios.bin beside the executable when neither is set."
source_ref: "src/platform/core/src/loader/bios.cpp:17-48, src/platform/core/src/config.cpp:36, src/platform/sdl/main.cpp:177-192"