emulators.retroarch_cores.Catalog
The cores an operator may pick: in core-info and built for x86_64.
The cores an operator may pick: in core-info and built for x86_64.
Attributes
attributecoresMapping[str, CoreInfo]Core name to its info, read-only.
attributeinfo_zipbytesThe zip the catalog was built from, for installing .info files.
attributecache_zipOptional[bytes]= NoneThe zip a background refresh wrote, or None before any refresh has landed.
attributeprotectedfrozenset[str]= frozenset()Cores a refresh may never change: every default, every alternate
and every core in TIERS. info_file never serves one of these from
cache_zip, even when the merged catalog holds one.
Functions
funcinfo_file(self, core) -> Optional[bytes]The core's .info file, preferring the refreshed zip for an unprotected core.
paramselfparamcorestrThe core name.
Returns
typing.OptionalThe file's bytes, or None when the catalog lacks it. A protected core
func__init__(self, cores, info_zip, cache_zip=None, protected=frozenset()) -> NoneparamselfparamcoresMapping[str, CoreInfo]paraminfo_zipbytesparamcache_zipOptional[bytes]= Noneparamprotectedfrozenset[str]= frozenset()Returns
None