mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-20 07:32:10 +00:00
fix: skip trying ldopengl if it is not a LDPlayer
This commit is contained in:
@@ -314,6 +314,9 @@ class LDOpenGL(Platform):
|
|||||||
def ldopengl_available(self) -> bool:
|
def ldopengl_available(self) -> bool:
|
||||||
if not self.is_ldplayer_bluestacks_family:
|
if not self.is_ldplayer_bluestacks_family:
|
||||||
return False
|
return False
|
||||||
|
logger.attr('EmulatorInfo_Emulator', self.config.EmulatorInfo_Emulator)
|
||||||
|
if self.config.EmulatorInfo_Emulator not in ['LDPlayer9']:
|
||||||
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
_ = self.ldopengl
|
_ = self.ldopengl
|
||||||
|
|||||||
Reference in New Issue
Block a user