From f3a455d333c5561b5195c9b53ed832a583d7fa8f Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 20 Oct 2026 10:31:14 +0200 Subject: [PATCH] fix: pin x16emu on the r49 release The pin was an unreleased tree past r49 labelled r50, while the rom.bin hashes were r49's. No r50 emulator release exists, so the profile now pins the r49 tag those hashes describe, and names its source repository so the pin is read. --- emulators/x16emu.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/emulators/x16emu.yml b/emulators/x16emu.yml index 8ae19f48..f4d03e73 100644 --- a/emulators/x16emu.yml +++ b/emulators/x16emu.yml @@ -1,9 +1,10 @@ emulator: x16emu type: standalone +source: "https://github.com/X16Community/x16-emulator" upstream: "https://github.com/X16Community/x16-emulator" -profiled_date: "2026-03-26" -source_commit: "77f2bab332e24c5456f9844a6c7ddd203f6198e6" -core_version: "r50" +profiled_date: "2026-10-20" +source_commit: "af1024080ced455ea098b007aed43142c99e93da" +core_version: "r49" display_name: "Commander X16 (x16emu)" cores: - x16emu @@ -20,6 +21,9 @@ notes: | Batocera configgen (x16emuGenerator.py) passes -rom /userdata/bios/commanderx16/rom.bin. Also sets -ram 2048, -rtc, and scale/quality/widescreen per user config. + The pin is the r49 release tag (src/version.h VER "49"). The tree after it + carries VER "50" with no emulator or ROM release behind it. + files: - name: rom.bin path: commanderx16/rom.bin @@ -35,5 +39,5 @@ files: ROM_SIZE = NUM_ROM_BANKS(32) * 16384 = 524288 bytes. exit(1) if file not found. Built from x16-rom repo (open source, derived from C64 KERNAL/BASIC). Shipped beside the executable in every release zip. The hashes are those of - the r49 release, whose rom.bin is 262144 bytes: the loader reads up to + the rom.bin in the r49 release zips, 262144 bytes: the loader reads up to ROM_SIZE and does not check the length.