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:
parent
a2baa3a978
commit
6d3dd3784e
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue