mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-01 13:58:55 -06:00
refactor: hand exporters the profiles they read
This commit is contained in:
1 parent
69d29e786a
commit
745ab63e63
9 files changed
+55
-39
No files matched your search
@@ -16,7 +16,6 @@ import unittest
|
||||
from collections import OrderedDict
|
||||
from pathlib import Path
|
||||
|
||||
from model.profiles import core_key_index
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report, build_native_model
|
||||
from exporter.bizhawk_exporter import Exporter as BizHawk
|
||||
from exporter.misterfpga_exporter import Exporter as Mister
|
||||
@@ -672,9 +671,7 @@ class RetroPieProposals(unittest.TestCase):
|
||||
@staticmethod
|
||||
def _knowing(**profiles: dict) -> RetroPie:
|
||||
"""An exporter that reads these profiles instead of emulators/."""
|
||||
exporter = RetroPie()
|
||||
exporter._core_profiles = (profiles, core_key_index(profiles, include_aliases=True))
|
||||
return exporter
|
||||
return RetroPie(profiles)
|
||||
|
||||
@staticmethod
|
||||
def _module(module_id: str, help_text: str) -> dict[str, str]:
|
||||
|
||||
Reference in new issue
Block a user