Skip to content

Commit

Permalink
再修没有fmod外部库时无法启动
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Sep 11, 2024
1 parent b702d75 commit fda9404
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/fmod20221/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ do -- Load library
suc,M.C=pcall(ffi.load,'fmod')
if not suc then
MSG.new('error',"Loading FMOD lib:"..M.C)
M.C=nil
elseif not M.C then
MSG.new('error',"Error in Loading FMOD lib")
end

suc,M.C2=pcall(ffi.load,'fmodstudio')
if not suc then
MSG.new('error',"Loading FMODstudio lib:"..M.C2)
M.C2=nil
elseif not M.C2 then
MSG.new('error',"Error in Loading FMODstudio lib")
end
Expand Down

0 comments on commit fda9404

Please sign in to comment.