mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-17 21:24:40 +10:00
Remember TeraScale 2 Setting on MacBookPro8,2/3
This commit is contained in:
@@ -1923,9 +1923,11 @@ class wx_python_gui:
|
||||
def ts2_accel_click(self, event=None):
|
||||
if self.set_terascale_accel_checkbox.GetValue():
|
||||
print("TS2 Acceleration Enabled")
|
||||
subprocess.run(["defaults", "write", "com.dortania.opencore-legacy-patcher", "MacBookPro_TeraScale_2_Accel", "-bool", "TRUE"])
|
||||
self.constants.allow_ts2_accel = True
|
||||
else:
|
||||
print("TS2 Acceleration Disabled")
|
||||
subprocess.run(["defaults", "write", "com.dortania.opencore-legacy-patcher", "MacBookPro_TeraScale_2_Accel", "-bool", "FALSE"])
|
||||
self.constants.allow_ts2_accel = False
|
||||
|
||||
def windows_gmux_click(self, event=None):
|
||||
|
||||
Reference in New Issue
Block a user