Files
libretro/emulators/nanoboyadvance.yml
T
Abdessamad Derraz 3ccee1b216 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.
2026-10-21 10:14:15 +02:00

44 lines
1.8 KiB
YAML

emulator: "NanoBoyAdvance"
type: standalone
core_classification: other
source: "https://github.com/nba-emu/NanoBoyAdvance"
profiled_date: "2026-10-17"
source_commit: "3bb6f478f977dbfd3106508536e5fbce90d1898b"
pin_frozen: "ROCKNIX 20261001 builds this revision of the SDL2 frontend (v1.6 plus four commits). Later upstream work is not part of that build."
core_version: "1.6"
display_name: "Nintendo - Game Boy Advance (NanoBoyAdvance)"
cores:
- "nanoboyadvance"
- "nanoboyadvance-sa"
systems:
- nintendo-gba
notes: |
Game Boy Advance emulator. ROCKNIX builds the SDL2 frontend only
(PLATFORM_SDL2=ON, PLATFORM_QT=OFF).
The SDL2 frontend changes the working directory to the executable's
directory, then reads config.toml there. The BIOS path is the general.bios_path
key of that file, default "bios.bin", overridden by --bios on the command line.
ref: src/platform/sdl/main.cpp:288-293, src/platform/core/src/config.cpp:36,
src/platform/core/include/platform/config.hpp:17, src/platform/sdl/main.cpp:98-102
The BIOS is required. BIOSLoader refuses a missing path, a directory, and any
size other than 16 KB, and the frontend prints the reason and exits. There is no
built-in replacement. bios_skip only jumps past the boot screen after the BIOS
is loaded.
ref: src/platform/core/src/loader/bios.cpp:17-48, src/platform/sdl/main.cpp:177-192,
src/nba/src/core.cpp:42-44
files:
- name: "bios.bin"
path: "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."
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"