Explorar el Código

FMod switching DLLS if 64 bit.

Vincent Gee hace 11 años
padre
commit
98630fbcb8
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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_WIN32)
    dllName = "fmodex.dll";
    pDllName = "fmodexp.dll";
    eventDllName = "fmod_event.dll";