mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-04 09:03:47 -06:00
fix: swanstation opens its region bios by name
The region BIOS option names scph5500/5501/5502.bin by default and LoadImageFromFile checks only the size (host_interface.cpp:124-133, bios.cpp:82-105). The md5 table serves the directory scan and the Fast Boot patch. validation: [size], found_by: name. Closes the open swanstation finding.
This commit is contained in:
1 parent
37822d61ba
commit
eb76f56a96
2 files changed
+19
-7
No files matched your search
@@ -23,7 +23,11 @@ notes: |
|
||||
(dep/openbios) boots instead.
|
||||
ref: src/core/system.cpp:650,678-682
|
||||
|
||||
Auto-detects BIOS by scanning system_dir for files of known sizes.
|
||||
The BIOS option of the console region names a file, scph5500.bin,
|
||||
scph5501.bin and scph5502.bin by default, opened by that name with a size
|
||||
check only. When it is missing or of another size the core scans system_dir
|
||||
for files of known sizes and keeps one whose md5 the table knows.
|
||||
ref: src/core/host_interface.cpp:100-133, src/libretro/libretro_core_options.h:96-137
|
||||
ref: src/core/host_interface.cpp:136-194 (FindBIOSImageInDirectory)
|
||||
Accepts PS1 (512 KB), PS2 (4 MB), and PS3 (0x3E66F0) BIOS images.
|
||||
Only the first 512 KB are loaded (src/core/bios.cpp:84, Image(BIOS_SIZE)).
|
||||
@@ -46,39 +50,46 @@ notes: |
|
||||
|
||||
files:
|
||||
- name: "scph5500.bin"
|
||||
found_by: "name"
|
||||
description: "SCPH-5500 (v3.0 09-09-96 J)"
|
||||
region: [japan]
|
||||
required: false
|
||||
hle_fallback: true
|
||||
md5: "8dd7d5296a650fac7319bce665a6a53c"
|
||||
size: 524288
|
||||
validation: [size, md5]
|
||||
source_ref: "source src/core/bios.cpp:49"
|
||||
validation: ["size"]
|
||||
source_ref: "source src/core/bios.cpp:49, source src/core/bios.cpp:82-105, source src/core/host_interface.cpp:100-133, source src/libretro/libretro_core_options.h:96-109"
|
||||
aliases: []
|
||||
note: "Default of swanstation_BIOS_PathNTSCJ, opened by this name with a size check only (512 KB, 4 MB or the PS3 size). The md5 table identifies files in the directory scan, which runs only when the named file is missing or of another size (host_interface.cpp:136-193). A file whose md5 the table lacks still boots, without the Fast Boot patch (bios.cpp:142-146, system.cpp:689, 711)."
|
||||
|
||||
- name: "scph5501.bin"
|
||||
found_by: "name"
|
||||
description: "SCPH-5501, 5503, 7003 (v3.0 11-18-96 A)"
|
||||
region: [north-america, latin-america]
|
||||
required: false
|
||||
hle_fallback: true
|
||||
md5: "490f666e1afb15b7362b406ed1cea246"
|
||||
size: 524288
|
||||
validation: [size, md5]
|
||||
source_ref: "source src/core/bios.cpp:50-51"
|
||||
validation: ["size"]
|
||||
source_ref: "source src/core/bios.cpp:50-51, source src/core/bios.cpp:82-105, source src/core/host_interface.cpp:100-133, source src/libretro/libretro_core_options.h:110-123"
|
||||
aliases: []
|
||||
evidence:
|
||||
hle_fallback: ["2026-10-27-ba53cd101c61", "2026-10-27-f9363c9e87f6"]
|
||||
validation: ["2026-10-27-f9363c9e87f6", "2026-10-27-97e674b2e56e"]
|
||||
note: "Default of swanstation_BIOS_PathNTSCU, opened by this name with a size check only (512 KB, 4 MB or the PS3 size). The md5 table identifies files in the directory scan, which runs only when the named file is missing or of another size (host_interface.cpp:136-193). A file whose md5 the table lacks still boots, without the Fast Boot patch (bios.cpp:142-146, system.cpp:689, 711)."
|
||||
|
||||
- name: "scph5502.bin"
|
||||
found_by: "name"
|
||||
description: "SCPH-5502, 5552 (v3.0 01-06-97 E)"
|
||||
region: [europe, oceania]
|
||||
required: false
|
||||
hle_fallback: true
|
||||
md5: "32736f17079d0b2b7024407c39bd3050"
|
||||
size: 524288
|
||||
validation: [size, md5]
|
||||
source_ref: "source src/core/bios.cpp:52-53"
|
||||
validation: ["size"]
|
||||
source_ref: "source src/core/bios.cpp:52-53, source src/core/bios.cpp:82-105, source src/core/host_interface.cpp:100-133, source src/libretro/libretro_core_options.h:124-137"
|
||||
aliases: []
|
||||
note: "Default of swanstation_BIOS_PathPAL, opened by this name with a size check only (512 KB, 4 MB or the PS3 size). The md5 table identifies files in the directory scan, which runs only when the named file is missing or of another size (host_interface.cpp:136-193). A file whose md5 the table lacks still boots, without the Fast Boot patch (bios.cpp:142-146, system.cpp:689, 711)."
|
||||
|
||||
- name: "psxonpsp660.bin"
|
||||
description: "PSP, SCPH-1000R (v4.5 05-25-00 J)"
|
||||
|
||||
Reference in new issue
Block a user