fix: skip trying ldopengl if it is not a LDPlayer

This commit is contained in:
2026-07-06 22:40:41 +08:00
parent 7c3ef72447
commit 4112509fe3
+3
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