Browse Source

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

FMod switching DLLS if 64 bit.
Areloch 10 năm trước cách đây
mục cha
commit
3fe0fe1b92
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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";