Fix: [ALAS] Skip trying ldopengl if it is not a LDPlayer

This commit is contained in:
LmeSzinc 2024-09-27 12:32:37 +08:00
parent a5c9724ef3
commit a8a3362531

View File

@ -314,6 +314,9 @@ class LDOpenGL(Platform):
def ldopengl_available(self) -> bool:
if not self.is_ldplayer_bluestacks_family:
return False
logger.attr('EmulatorInfo_Emulator', self.config.EmulatorInfo_Emulator)
if self.config.EmulatorInfo_Emulator not in ['LDPlayer9']:
return False
try:
_ = self.ldopengl