1
0
Fork 0
mirror of synced 2024-05-21 21:12:48 +12:00

RareCore: Temporarily disable automatic egl sync and remove UI option.

Also set some more defaults for legendary because Rare lacks support for
them. Forced at startup.

* Set `disable_auto_crossover` to `false` because we don't support CX yet.
* Set `egl_sync` to `false` because issues.
This commit is contained in:
loathingKernel 2023-12-23 12:16:57 +02:00
parent a2baa3a978
commit 6d3dd3784e
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 11 additions and 2 deletions

View file

@ -65,6 +65,10 @@ class EGLSyncGroup(QGroupBox):
self.ui.egl_sync_check.setChecked(self.core.egl_sync_enabled)
self.ui.egl_sync_check.stateChanged.connect(self.egl_sync_changed)
# lk: Temporarily disable automatic sync with EGL
self.ui.egl_sync_check_label.setHidden(True)
self.ui.egl_sync_check.setHidden(True)
self.import_list = EGLSyncImportGroup(parent=self)
self.ui.import_export_layout.addWidget(self.import_list)
self.export_list = EGLSyncExportGroup(parent=self)

View file

@ -165,9 +165,14 @@ class RareCore(QObject):
self.__core.lgd.config.set(
"Legendary", "mac_install_dir", self.__core.get_default_install_dir(self.__core.default_platform)
)
# Always set these options
# Avoid falling back to Windows games on macOS
self.__core.lgd.config.set("Legendary", "install_platform_fallback", 'false')
# Avoid implicitly falling back to Windows games on macOS
self.__core.lgd.config.set("Legendary", "install_platform_fallback", str(False))
# Force-disable automatic use of crossover on macOS (remove this when we support crossover)
self.__core.lgd.config.set("Legendary", "disable_auto_crossover", str(True))
# Force-disable automatic sync with EGL, it seems to have issues
self.__core.lgd.config.set("Legendary", "egl_sync", str(False))
# workaround if egl sync enabled, but no programdata_path
# programdata_path might be unset if logging in through the browser