Skip to content

Commit

Permalink
fix fmodex path
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Oct 8, 2024
1 parent 26e3b15 commit f856291
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fallguys/meta_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "soundengine.h"

#ifndef _WIN32//for debugging
#include <unistd.h>
//#include <unistd.h>
#endif

IMPORT_ASEXT_API_DEFINE();
Expand Down Expand Up @@ -721,7 +721,7 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME /* now */,


#ifndef _WIN32//for debugging
sleep(15);
//sleep(15);
#endif

LoadFMOD();
Expand Down
4 changes: 2 additions & 2 deletions fallguys/signatures.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@

#define CLIENT_DLL_NAME "client.so"

#define CLIENT_DLL_PATH "cl_dlls\\client.so"
#define CLIENT_DLL_PATH "cl_dlls/client.so"

#define FMOD_DLL_NAME "fmodex.so"

#define FMOD_DLL_PATH "%s\\cl_dlls\\libfmodex.so"
#define FMOD_DLL_PATH "%s/cl_dlls/libfmodex.so"

#endif
2 changes: 1 addition & 1 deletion fallguys/soundengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static bool LoadFMOD_Server()

if (!g_FMOD_DllHandle)
{
LOG_ERROR(PLID, "Failed to load fmodex dll! The SoundEngine API may not work.");
LOG_ERROR(PLID, "Failed to load fmodex dll from \"%s\"! The SoundEngine API may not work.", szDllPath);
return false;
}

Expand Down

0 comments on commit f856291

Please sign in to comment.