From a8a33625311a4df70f01b86c98475433dda26ec7 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:32:37 +0800 Subject: [PATCH] Fix: [ALAS] Skip trying ldopengl if it is not a LDPlayer --- module/device/method/ldopengl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/device/method/ldopengl.py b/module/device/method/ldopengl.py index cd7af4c59..4e4687173 100644 --- a/module/device/method/ldopengl.py +++ b/module/device/method/ldopengl.py @@ -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