Files
libretro/emulators/vba_next.yml
T
Abdessamad Derraz e7aa9e870b fix: state libretro core versions from their code
Each libretro profile records version_basis and core_version is read
there at its pin. snes9x states 1.63 in snes9x.h, nestopia 2.0.0, mgba
0.11.0, vice 3.10, atari800's libretro tree 7.0.0. Cores whose build
takes its version from git carry the nearest tag in describe form
(flycast v2.7-90-ge88b0ce, ppsspp, duckstation, gearcoleco), placeholders
copied from .info files (Git, SVN) are replaced by the code's statement,
and a code that states none is null with kind none.
2026-10-27 19:21:27 +01:00

50 lines
1.8 KiB
YAML

emulator: VBA-Next
type: libretro
core_classification: frozen_snapshot
source: "https://github.com/libretro/vba-next"
upstream: "https://github.com/visualboyadvance-m/visualboyadvance-m"
upstream_commit: "46cc9f6bda114737e99304a4bd8427c038e63084"
profiled_date: "2026-03-25"
source_commit: "788192f215ad0a1413f1625b40ebba3423fa0ade"
core_version: "v1.0.2"
version_basis:
kind: file
path: "libretro/libretro.c"
pattern: 'info->library_version\s*=\s*"([^"]+)"'
display_name: "Nintendo - Game Boy Advance (VBA Next)"
cores:
- vba_next
- "vba-next"
systems:
- nintendo-gba
notes: |
Frozen snapshot of VBA-M circa 2011, optimized for libretro by Squarepusher.
Built-in HLE BIOS (myROM array, src/gba.c:8930) handles all standard SWI
calls. No external BIOS file needed for most games.
BIOS loading gated by HAVE_HLE_BIOS (build/Makefile.common:3) and core option
vbanext_bios (default: enabled). When enabled, retro_init resolves gba_bios.bin
in system_dir (libretro/libretro.c:213-218). CPUInit loads via utilLoad(),
validates size == 0x4000, sets useBios = true (src/gba.c:12943-12950). On
failure, myROM is memcpy'd as HLE fallback (src/gba.c:12954-12956).
With real BIOS, execution starts at 0x00000000 (BIOS entry point). Without,
jumps to 0x08000000 (ROM entry), skipping boot animation
(src/gba.c:13134-13151).
Upstream VBA-M CPUInit (src/core/gba/gba.cpp:5152-5180) is functionally
identical. No divergences in BIOS handling.
files:
- name: gba_bios.bin
system: nintendo-gba
required: false
hle_fallback: true
size: 16384
validation: [size]
description: "GBA BIOS"
note: "Optional. HLE replacement handles all standard SWI calls. Real BIOS adds startup logo and may improve edge-case accuracy."
source_ref: "source libretro/libretro.c:213-218, source src/gba.c:12954-12963"