mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 19:38:52 -06:00
refactor: read mame release tags in the model
The tag and version helpers lived in the romset DAT importer, so the site cards, which may not import a scraper, matched the label with their own pattern. model.mamerelease now owns mame_tag, mame_version and tag_version. Both scrapers and the cards call it. check_freshness only lifts tags out of labels and converts nothing, so it keeps its own search.
This commit is contained in:
1 parent
8a8fa71fbc
commit
4acfd8f763
7 files changed
+41
-19
No files matched your search
@@ -53,7 +53,8 @@ from .mame_devices import (
|
||||
source_path,
|
||||
)
|
||||
from .listxml import open_listxml
|
||||
from .romset_dat_importer import fetch_pack, mame_tag, mame_version
|
||||
from model.mamerelease import mame_tag, mame_version
|
||||
from .romset_dat_importer import fetch_pack
|
||||
from .sparse_clone import fresh_cache, remove_clone, sparse_clone
|
||||
from .mame_parser import parse_mame_source_tree
|
||||
from core.paths import EMULATORS_DIR, PLATFORMS_DIR, REPO_ROOT
|
||||
|
||||
Reference in new issue
Block a user