mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-25 13:19:03 -05:00
chore: merge round 2 fixes (pins)
# Conflicts: # install.ps1 # install.sh
This commit is contained in:
commit
fd1d1b7b96
28 files changed
+525
-176
No files matched your search
@@ -155,6 +155,13 @@ class BaseExporter(ABC):
|
||||
the render learned from the platform's own file."""
|
||||
return self.writable(fe)
|
||||
|
||||
def names_anew(self, fe: NativeFile) -> bool:
|
||||
"""Whether the render wrote, for the first time, a file the platform
|
||||
layer already declares. Only a format whose unit is not the entry
|
||||
does: a RetroPie help sentence can lack a name the inherited RetroArch
|
||||
list carries."""
|
||||
return False
|
||||
|
||||
@classmethod
|
||||
def writable(cls, fe: NativeFile, require: str = "") -> bool:
|
||||
"""Whether this format can carry the entry.
|
||||
|
||||
@@ -400,6 +400,11 @@ class Exporter(BaseExporter):
|
||||
return self.writable(fe)
|
||||
return id(fe) in getattr(self, "_named", set())
|
||||
|
||||
def names_anew(self, fe: NativeFile) -> bool:
|
||||
"""flycast's naomi2.zip is in the RetroArch list RetroPie inherits,
|
||||
yet no flycast help sentence named it: the render adds it there."""
|
||||
return fe.platform is not None and id(fe) in getattr(self, "_named", set())
|
||||
|
||||
def outcome(
|
||||
self,
|
||||
systems: dict[str, NativeSystem],
|
||||
|
||||
Reference in new issue
Block a user