Browse Source

Merge pull request #1000 from Winterleaf/FMod-64bit-fix

FMod switching DLLS if 64 bit.
Areloch 10 years ago
parent
commit
3fe0fe1b92
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Engine/source/sfx/fmod/sfxFMODProvider.cpp

+ 5 - 1
Engine/source/sfx/fmod/sfxFMODProvider.cpp

@@ -169,7 +169,11 @@ void SFXFMODProvider::init()
    const char* pDllName; // plugin-based DLL
    const char* eventDllName;
    
-#ifdef TORQUE_OS_WIN
+#ifdef _WIN64
+   dllName = "fmodex64.dll";
+   pDllName = "fmodexp64.dll";
+   eventDllName = "fmod_event64.dll";
+#elif defined(TORQUE_OS_WIN)
    dllName = "fmodex.dll";
    pDllName = "fmodexp.dll";
    eventDllName = "fmod_event.dll";