fix: give bios_U.sms every export territory

sms_cart_region_detect returns REGION_USA for any cartridge outside its
CRC list whose header is not Japanese, so Genesis Plus GX and its two
forks open bios_U.sms for Australian and Brazilian cartridges as well.
Tagged north-america and europe only, --region australia,japan dropped
it from the pack. The tag now adds latin-america and oceania.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 10:04:58 +02:00
1 parent 99c9993c17
commit 4e41fad9b6
4 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -63,9 +63,9 @@ files:
# -------------------------------------------------------
- name: bios_U.sms
system: sega-mastersystem
region: [north-america, europe]
region: [north-america, latin-america, europe, oceania]
required: false
note: "Master System (NTSC-U) boot ROM. Snail maze game built in. REGION_USA is the default of sms_cart_region_detect for any export header outside the PAL CRC list, so European cartridges load it too (core/cart_hw/sms_cart.c:831-874)."
note: "Master System (NTSC-U) boot ROM. Snail maze game built in. REGION_USA is the default of sms_cart_region_detect for any export header outside the PAL CRC list, so European, Australian and Brazilian cartridges outside that list load it too (core/cart_hw/sms_cart.c:831-874)."
source_ref: "source core/loadrom.c:511"
- name: bios_E.sms
+2 -2
View File
@@ -68,9 +68,9 @@ files:
- name: bios_U.sms
system: sega-mastersystem
region: [north-america, europe]
region: [north-america, latin-america, europe, oceania]
required: false
note: "Master System (NTSC-U) boot ROM, loaded for REGION_USA when the bios option is on."
note: "Master System (NTSC-U) boot ROM, loaded for REGION_USA when the bios option is on. REGION_USA is the default of sms_cart_region_detect for any export header outside its CRC list, so European, Australian and Brazilian cartridges outside that list load it too (core/cart_hw/sms_cart.c:865-866)."
source_ref: "source core/loadrom.c:510"
- name: bios_E.sms
+2 -2
View File
@@ -49,9 +49,9 @@ files:
- name: bios_U.sms
system: sega-mastersystem
region: [north-america, europe]
region: [north-america, latin-america, europe, oceania]
required: false
note: "REGION_USA is the default of sms_cart_region_detect for any export header outside the PAL CRC list, so European cartridges load it too (core/cart_hw/sms_cart.c:863-864)."
note: "REGION_USA is the default of sms_cart_region_detect for any export header outside the PAL CRC list, so European, Australian and Brazilian cartridges outside that list load it too (core/cart_hw/sms_cart.c:863-864)."
source_ref: "source core/loadrom.c:512"
- name: bios_E.sms
+4
View File
@@ -919,6 +919,10 @@ class RegionalRequestsKeepWhatTheCodeLoads(unittest.TestCase):
("bizhawk", ["north-america"], "DSi_Nand_USA.bin"),
("bizhawk", ["oceania"], "DSi_Nand_AUS.bin"),
("bizhawk", ["china", "japan"], "DSi_Nand_CHN.bin"),
("genesis_plus_gx", ["australia", "japan"], "bios_U.sms"),
("genesis_plus_gx", ["brazil", "japan"], "bios_U.sms"),
("genesis_plus_gx_wide", ["australia", "japan"], "bios_U.sms"),
("genesis_plus_gx_expanded", ["brazil", "japan"], "bios_U.sms"),
)
def test_each_request_keeps_its_file(self):