read bits from config, defaults to cdll.BITS

reflect change in script_announce_voicemeeter_version
This commit is contained in:
2025-01-24 00:48:59 +00:00
parent 68462016a5
commit 0522b69420
4 changed files with 6 additions and 15 deletions

View File

@@ -43,7 +43,4 @@ dll_path = vm_parent.joinpath(DLL_NAME)
if not dll_path.is_file():
raise VMError(f'Could not find {dll_path}')
if BITS == 64:
libc = ct.CDLL(str(dll_path))
else:
libc = ct.WinDLL(str(dll_path))
libc = ct.WinDLL(str(dll_path))