Skip to content

Commit

Permalink
框架跟进
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Nov 18, 2024
1 parent b115e65 commit fb59002
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Zenitha
Submodule Zenitha updated 4 files
+2 −3 init.lua
+0 −36 loadFFI.lua
+93 −0 loadlib.lua
+0 −49 sysRequire.lua
2 changes: 1 addition & 1 deletion assets/discordRPC.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local ffi=require"ffi"

local Cname
if SYSTEM=='Windows' or SYSTEM=='Linux' then
Cname=LOADFFI('discord-rpc')
Cname=LOADLIB.ffi('discord-rpc')
elseif MOBILE then
LOG("warn",STRING.repD("No Discord-RPC for $1",SYSTEM))
else
Expand Down
4 changes: 2 additions & 2 deletions assets/fmod20221/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ M.banks={}
-- M.C=ffi.load(fmodPath)
-- M.C2=ffi.load(fmodstudioPath)

M.C=LOADFFI('fmod')
M.C2=LOADFFI('fmodstudio')
M.C=LOADLIB.ffi('fmod')
M.C2=LOADLIB.ffi('fmodstudio')

if M.C and M.C2 then
require'enums'
Expand Down

0 comments on commit fb59002

Please sign in to comment.