mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 10:23:16 -05:00
fix: tag PAL and AUS files oceania
simple64 picks the PAL PIF for the European and Australian country codes, and New Zealand carts carry one of them. Citra MMJ's AUS font archives serve the region sold in Australia and New Zealand alike. Tagged australia, a leaf New Zealand is not under, --region new-zealand dropped them. They are tagged oceania, as every other PAL file is.
This commit is contained in:
1 parent
8f8020f27d
commit
676f322a62
3 files changed
+22
-3
No files matched your search
@@ -114,7 +114,7 @@ files:
|
||||
system: nintendo-3ds
|
||||
required: false
|
||||
hle_fallback: true
|
||||
region: [japan, north-america, europe, australia]
|
||||
region: [japan, north-america, europe, oceania]
|
||||
description: "shared font system archive, title 0x0004009b00014002"
|
||||
note: "First step of the shared font chain, holding cbf_std.bcfnt.lz in its RomFS. This title low ID is the one the embedded open-source font answers."
|
||||
source_ref: "src/core/hle/service/apt/apt.cpp:124-182, src/core/file_sys/archive_ncch.cpp:143-148"
|
||||
@@ -161,7 +161,7 @@ files:
|
||||
required: false
|
||||
bundled: true
|
||||
hle_fallback: true
|
||||
region: [japan, north-america, europe, australia]
|
||||
region: [japan, north-america, europe, oceania]
|
||||
description: "shared font for JPN, USA, EUR and AUS"
|
||||
note: "Read to offset 0x80 of the shared memory block, so the file is a bare uncompressed BCFNT. Selected for every CFG region other than CHN, KOR and TWN. The embedded open-source font answers the archive request first, so this file is only reached when that archive path is taken out."
|
||||
source_ref: "src/core/hle/service/apt/apt.cpp:184-228, src/core/file_sys/archive_ncch.cpp:143-148"
|
||||
|
||||
@@ -150,7 +150,7 @@ files:
|
||||
system: nintendo-64
|
||||
required: false
|
||||
hle_fallback: true
|
||||
region: [europe, australia]
|
||||
region: [europe, oceania]
|
||||
size: 1984
|
||||
md5:
|
||||
- "d4232dc935cad0650ac2664d52281f3a"
|
||||
|
||||
@@ -1094,5 +1094,24 @@ class MegaCdAmericasIsOneCode(unittest.TestCase):
|
||||
self.assertEqual(narrow, [])
|
||||
|
||||
|
||||
class NoMarketStopsAtAustralia(unittest.TestCase):
|
||||
"""simple64 tagged its PAL PIF [europe, australia]. New Zealand is not
|
||||
under australia, so --region new-zealand kept only the NTSC PIF, though
|
||||
New Zealand carts carry the European or Australian PAL codes."""
|
||||
|
||||
def test_no_profile_tags_australia_alone(self):
|
||||
import yaml
|
||||
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
tagged = [
|
||||
f"{path.stem}: {entry.get('name')}"
|
||||
for path in sorted((root / "emulators").glob("*.yml"))
|
||||
for entry in (yaml.safe_load(path.read_text(encoding="utf-8")) or {}).get("files") or []
|
||||
if "australia" in (entry.get("region") or [])
|
||||
and "new-zealand" not in (entry.get("region") or [])
|
||||
]
|
||||
self.assertEqual(tagged, [])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user