From b0141171235ec02f9252065918940314ae714ca4 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 16 May 2024 11:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/fmod20221/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/fmod20221/init.lua b/assets/fmod20221/init.lua index 9446d690..5cf4483c 100644 --- a/assets/fmod20221/init.lua +++ b/assets/fmod20221/init.lua @@ -10,7 +10,7 @@ local M=require("master") local fmodPath=package.searchpath("fmod",package.cpath) local fmodstudioPath=package.searchpath("fmodstudio",package.cpath) -if false and fmodPath and fmodstudioPath then +if fmodPath and fmodstudioPath then -- pretend to load libfmod through Lua (it's going to fail but not raise any errors) so that its location is known when loading libfmodstudio through ffi -- package.loadlib(fmodPath,"") M.C=ffi.load(fmodPath)