From 67b0b32790a2c6ae0842f9dc2b92fede661fc3e6 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 24 Oct 2026 00:57:03 +0200 Subject: [PATCH] refactor: fold mednafen_gba into beetle_gba Both profiled libretro/beetle-gba-libretro at b158166. mednafen_gba becomes an alias; beetle_gba takes its classification, version and upstream fields. --- emulators/beetle_gba.yml | 22 +++++++++++++++------- emulators/mednafen_gba.yml | 24 +++++------------------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/emulators/beetle_gba.yml b/emulators/beetle_gba.yml index 95a44cf9..8a1bfc64 100644 --- a/emulators/beetle_gba.yml +++ b/emulators/beetle_gba.yml @@ -1,15 +1,22 @@ -# Beetle GBA (Mednafen), Game Boy Advance (libretro) -# ref: beetle-gba-libretro/mednafen/gba, docs.libretro.com/library/beetle_gba -# Same BIOS as mGBA/VBA-M. Read only with the gba_hle core option disabled. emulator: Beetle GBA (Mednafen) type: libretro -cores: [mednafen_gba] +core_classification: frozen_snapshot source: "https://github.com/libretro/beetle-gba-libretro" +upstream: "https://mednafen.github.io/" +profiled_date: "2026-03-24" source_commit: "b158166237b17253188cfdbe73a8a0b9fe4b3a8c" +core_version: "v0.9.36" +display_name: "Nintendo - Game Boy Advance (Beetle GBA)" +cores: [beetle_gba, mednafen_gba] systems: - nintendo-gba +notes: > + Mednafen v0.9.36 GBA module (libretro.cpp:73), whose GBA code derives + from VisualBoyAdvance (mednafen/gba/GBA.cpp:1-3). The built-in HLE BIOS + is used by default. files: - name: gba_bios.bin + description: "Game Boy Advance BIOS" system: nintendo-gba required: false hle_fallback: true @@ -17,6 +24,7 @@ files: validation: [size] source_ref: "mednafen/gba/GBA.cpp:2639-2673, mednafen/settings.cpp:81-82, libretro.cpp:223-230" note: > - Read only when the gba_hle core option is disabled. It is enabled by - default and the core then uses its built-in HLE BIOS. A file of any size - other than 16384 bytes is ignored and the core falls back to HLE. + Read only when the gba_hle core option is disabled, a setting read at + startup only. It is enabled by default and the core then uses its + built-in HLE BIOS. A file of any size other than 16384 bytes is ignored + and the core falls back to HLE. diff --git a/emulators/mednafen_gba.yml b/emulators/mednafen_gba.yml index 6c33feae..619352ea 100644 --- a/emulators/mednafen_gba.yml +++ b/emulators/mednafen_gba.yml @@ -1,24 +1,10 @@ -emulator: "Beetle GBA" -type: libretro -core_classification: frozen_snapshot -source: "https://github.com/libretro/beetle-gba-libretro" -upstream: "https://mednafen.github.io/" +emulator: "mednafen_gba" +type: alias +alias_of: "beetle_gba" profiled_date: "2026-03-24" -source_commit: "b158166237b17253188cfdbe73a8a0b9fe4b3a8c" core_version: "v0.9.36" display_name: "Nintendo - Game Boy Advance (Beetle GBA)" cores: - mednafen_gba -systems: - - gba -notes: | - Frozen at Mednafen v0.9.36 GBA module. GBA code derived from VisualBoyAdvance. - Built-in HLE BIOS used by default. Real BIOS improves compatibility. -files: - - name: "gba_bios.bin" - description: "Game Boy Advance BIOS" - required: false - hle_fallback: true - size: 16384 - validation: [size] - source_ref: "mednafen/gba/GBA.cpp:2647-2672" +note: "This core uses the same BIOS/firmware as beetle_gba. See emulators/beetle_gba.yml for details." +files: []