mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-17 14:22:32 -05:00
fix: add psx variant mappings, fix emulator verify path
scph3000.bin v2.1J and scph3500.bin v2.2J already existed under different primary names (scph3500.bin and scph5000.bin respectively). Add .variants/ entries so by_name resolves both filenames. verify_single_emulator now calls _find_best_variant on hash mismatch, matching the platform-level verification path.
This commit is contained in:
BIN
bios/Sony/PlayStation/.variants/scph3000.bin.e38466a4
Normal file
BIN
bios/Sony/PlayStation/.variants/scph3000.bin.e38466a4
Normal file
Binary file not shown.
BIN
bios/Sony/PlayStation/.variants/scph3500.bin.ffa7f9a7
Normal file
BIN
bios/Sony/PlayStation/.variants/scph3500.bin.ffa7f9a7
Normal file
Binary file not shown.
@@ -1230,13 +1230,24 @@ def verify_emulator(
|
|||||||
check = check_file_validation(local_path, name, validation_index)
|
check = check_file_validation(local_path, name, validation_index)
|
||||||
if check:
|
if check:
|
||||||
reason, _emus = check
|
reason, _emus = check
|
||||||
result = {
|
better = _find_best_variant(
|
||||||
"name": name,
|
file_entry, db, local_path, validation_index,
|
||||||
"status": Status.UNTESTED,
|
)
|
||||||
"required": required,
|
if better:
|
||||||
"path": local_path,
|
result = {
|
||||||
"reason": reason,
|
"name": name,
|
||||||
}
|
"status": Status.OK,
|
||||||
|
"required": required,
|
||||||
|
"path": better,
|
||||||
|
}
|
||||||
|
else:
|
||||||
|
result = {
|
||||||
|
"name": name,
|
||||||
|
"status": Status.UNTESTED,
|
||||||
|
"required": required,
|
||||||
|
"path": local_path,
|
||||||
|
"reason": reason,
|
||||||
|
}
|
||||||
else:
|
else:
|
||||||
result = {
|
result = {
|
||||||
"name": name,
|
"name": name,
|
||||||
|
|||||||
Reference in New Issue
Block a user