mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -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
@@ -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