fix: beetle_psx sha1 check only warns

firmware_is_present logs a SHA1 that differs and returns true (libretro.c:853-860), the override path does the same (744-756). on_mismatch: warn on every hashed entry. Closes the two open beetle_psx findings.
This commit is contained in:
Abdessamad Derraz committed 2026-10-28 08:17:23 +01:00
1 parent 48f5dbc813
commit 37822d61ba
2 files changed
+14 -5

No files matched your search

+12 -5
View File
@@ -43,8 +43,9 @@ files:
sha1: "b05def971d8ec59f346f2d9ac21fb742e3eb6917"
md5: "8dd7d5296a650fac7319bce665a6a53c"
validation: [sha1]
on_mismatch: "warn"
mode: both
source_ref: "libretro.c:768-776, 3425-3511"
source_ref: "libretro.c:768-776, 853-860, 3425-3511"
aliases: ["SCPH5500.bin", "SCPH-5500.bin"]
evidence:
required: ["2026-10-27-55dd1e4943c4"]
@@ -57,6 +58,7 @@ files:
sha1: "15c94da3cc5a38a582429575af4198c487fe893c"
md5: "81328b966e6dcf7ea1e32e55e1c104bb"
validation: [size, sha1]
on_mismatch: "warn"
mode: libretro
source_ref: "libretro.c:778-785, libretro.c:3467-3481, libretro.c:3500-3502, libretro.c:6758"
@@ -71,9 +73,10 @@ files:
sha1: "0555c6fae8906f3f09baf5988f00e55f88e9f30b"
md5: "490f666e1afb15b7362b406ed1cea246"
validation: [sha1]
on_mismatch: "warn"
mode: both
note: "Picked for REGION_NA: a SYSTEM.CNF serial whose third letter is U (SCUS, SLUS), a licence string naming America, and content whose region cannot be read while the region option stays on auto (libretro.c:2436-2438, 2279, 2330-2335, 3252-3266, 4517)."
source_ref: "libretro.c:787-805, 3425-3511"
source_ref: "libretro.c:787-805, 853-860, 3425-3511"
aliases:
- "SCPH5501.bin"
- "SCPH-5501.bin"
@@ -93,6 +96,7 @@ files:
aliases: ["2026-10-27-48269ae11777", "2026-10-27-ba941702c6c2", "2026-10-27-fc95254312c0", "2026-10-27-5a191f2b540b", "2026-10-27-12ba45024f8c", "2026-10-27-a7c1a301bdb0"]
hle_fallback: ["2026-10-27-6e97b657aca7", "2026-10-27-699ca140a270", "2026-10-27-ec1ab64f96d3", "2026-10-27-47c3dcceed98", "2026-10-27-607274136f7b", "2026-10-27-ae6d4db96e73"]
required: ["2026-10-27-13be0e68b799"]
validation: ["2026-10-27-ae6d4db96e73", "2026-10-27-c1f4aa5d47cd"]
# -- Region: Europe (REGION_EU) --
@@ -105,8 +109,9 @@ files:
sha1: "f6bc2d1f5eb6593de7d089c425ac681d6fffd3f0"
md5: "32736f17079d0b2b7024407c39bd3050"
validation: [sha1]
on_mismatch: "warn"
mode: both
source_ref: "libretro.c:807-821, 3425-3511"
source_ref: "libretro.c:807-821, 853-860, 3425-3511"
aliases:
- "SCPH5502.bin"
- "SCPH-5502.bin"
@@ -125,8 +130,9 @@ files:
sha1: "96880d1ca92a016ff054be5159bb06fe03cb4e14"
md5: "c53ca5908936d412331790f4426c6c33"
validation: [sha1]
on_mismatch: "warn"
mode: libretro
source_ref: "libretro.c:697-703"
source_ref: "libretro.c:697-703, 744-756"
aliases: ["PSXONPSP660.bin"]
note: "override_bios=1. Tried as psxonpsp660.bin, PSXONPSP660.bin, then PSXONPSP660.BIN. Falls back to region BIOS if not found."
@@ -136,8 +142,9 @@ files:
sha1: "c40146361eb8cf670b19fdc9759190257803cab7"
md5: "81bbe60ba7a3d1cea1d48c14cbcc647b"
validation: [sha1]
on_mismatch: "warn"
mode: libretro
source_ref: "libretro.c:705-711"
source_ref: "libretro.c:705-711, 744-756"
aliases: ["PS1_ROM.bin"]
note: "override_bios=2. Tried as ps1_rom.bin, PS1_ROM.bin, then PS1_ROM.BIN. Falls back to region BIOS if not found."
+2
View File
@@ -25,3 +25,5 @@
{"content":"Bust-A-Move 2 - Arcade Edition (USA)","core":{"file":"mednafen_psx_hw_libretro.so","library_version":"0.9.44.1 7fea57a","sha256":"d16c889c9f12bd3265edc3c9d4b0e6e24c1f244d1d8d475235f6a74e65e5b10b"},"emulator":"beetle_psx","evidence":["2026-10-27-ae6d4db96e73"],"field":"required","file":"scph5501.bin","found_at":"2026-10-27T22:23:18+00:00","id":"2026-10-27-8d97aa8e9320","key":"beetle_psx/sony-playstation/scph5501.bin/required","profile_says":true,"rule":"boots_without_file","run_shows":false,"schema_version":1,"statement":"the profile says scph5501.bin is required, and the core boots without it. The table settles hle_fallback from this run, not required","status":"open","system":"sony-playstation"}
{"content":"Bust-A-Move 2 - Arcade Edition (USA)","core":{"file":"mednafen_psx_hw_libretro.so","library_version":"0.9.44.1 7fea57a","sha256":"d16c889c9f12bd3265edc3c9d4b0e6e24c1f244d1d8d475235f6a74e65e5b10b"},"emulator":"beetle_psx","evidence":["2026-10-27-ae6d4db96e73","2026-10-27-c1f4aa5d47cd"],"field":"validation","file":"scph5501.bin","found_at":"2026-10-27T22:23:18+00:00","id":"2026-10-27-6c5dd27808b8","key":"beetle_psx/sony-playstation/scph5501.bin/validation","profile_says":["sha1"],"rule":"validation_contradicted","run_shows":{"content":false,"size":false},"schema_version":1,"statement":"the core does not check the content and does not check the size of scph5501.bin: a same-size file of zeros is run, the profile declares validation ['sha1']","status":"open","system":"sony-playstation"}
{"content":"Bust-A-Move 2 - Arcade Edition (USA)","core":{"file":"swanstation_libretro.so","library_version":"1.0.0 631f0fb","sha256":"fc65bb2d662c3ad762b611a62ac578f78efd260431d3b8c090f0eb40887a77ea"},"emulator":"swanstation","evidence":["2026-10-27-f9363c9e87f6","2026-10-27-97e674b2e56e"],"field":"validation","file":"scph5501.bin","found_at":"2026-10-27T22:37:43+00:00","id":"2026-10-27-7becd3ea082b","key":"swanstation/sony-playstation/scph5501.bin/validation","profile_says":["size","md5"],"rule":"validation_contradicted","run_shows":{"content":false,"size":true},"schema_version":1,"statement":"the core does not check the content and checks the size of scph5501.bin: a same-size file of zeros is run, the profile declares validation ['md5', 'size']","status":"open","system":"sony-playstation"}
{"content":"Bust-A-Move 2 - Arcade Edition (USA)","core":{"file":"mednafen_psx_hw_libretro.so","library_version":"0.9.44.1 7fea57a","sha256":"d16c889c9f12bd3265edc3c9d4b0e6e24c1f244d1d8d475235f6a74e65e5b10b"},"emulator":"beetle_psx","evidence":["2026-10-27-ae6d4db96e73","2026-10-27-c1f4aa5d47cd"],"field":"validation","file":"scph5501.bin","found_at":"2026-10-28T07:16:45+00:00","id":"2026-10-28-7df447e3370d","key":"beetle_psx/sony-playstation/scph5501.bin/validation","profile_says":["sha1"],"reason":"firmware_is_present computes the SHA1, logs 'Firmware found but has invalid SHA1' and returns true (libretro.c:853-860). The load reads the file whatever its size and only logs a size that is neither 512 KB nor 1 MB (libretro.c:3425-3502). The check is declared with on_mismatch: warn.","rule":"validation_contradicted","run_shows":{"content":false,"size":false},"schema_version":1,"statement":"the core does not check the content and does not check the size of scph5501.bin: a same-size file of zeros is run, the profile declares validation ['sha1']","status":"applied","system":"sony-playstation"}
{"content":"Bust-A-Move 2 - Arcade Edition (USA)","core":{"file":"mednafen_psx_hw_libretro.so","library_version":"0.9.44.1 7fea57a","sha256":"d16c889c9f12bd3265edc3c9d4b0e6e24c1f244d1d8d475235f6a74e65e5b10b"},"emulator":"beetle_psx","evidence":["2026-10-27-ae6d4db96e73"],"field":"required","file":"scph5501.bin","found_at":"2026-10-28T07:17:02+00:00","id":"2026-10-28-9c0f49d04c7d","key":"beetle_psx/sony-playstation/scph5501.bin/required","profile_says":true,"reason":"Applied by hand in 499e5faa7: required false. When firmware_is_present finds no region BIOS the load copies the built-in OpenBIOS into BIOS ROM (libretro.c:3425-3428, 3505-3511), so the core boots without the file.","rule":"boots_without_file","run_shows":false,"schema_version":1,"statement":"the profile says scph5501.bin is required, and the core boots without it. The table settles hle_fallback from this run, not required","status":"applied","system":"sony-playstation"}