- Fixed: Trying to run with the same FMOD version you compiled with no longer produced

sound. (But compiling with 4.26.xx and using an older DLL was fine.)

SVN r1718 (trunk)
This commit is contained in:
Randy Heit 2009-07-15 22:27:38 +00:00
parent f74f6a1659
commit 00a6293952

View file

@ -2695,7 +2695,7 @@ void FMODSoundRenderer::InitCreateSoundExInfo(FMOD_CREATESOUNDEXINFO *exinfo) co
else
#endif
{
exinfo->cbsize = sizeof(exinfo);
exinfo->cbsize = sizeof(*exinfo);
}
memset((BYTE *)exinfo + sizeof(exinfo->cbsize), 0, exinfo->cbsize - sizeof(exinfo->cbsize));
}