[Openal] alGenBuffers generates invalid values (PC only)

griffin2000 gareth_morgan77 at hotmail.com
Tue Aug 28 22:04:27 PDT 2007



> I'd look and make sure you're not trashing the first value of your 
> buffer array somewhere.

It definitely gets that value inside of alGenBuffers...


Here is the dissassembly:
03B410AB  cmp         ebx,dword ptr [esp+14h] 
03B410AF  jae         03B41100 
03B410B1  push        28h  
03B410B3  call        03B54F80 
03B410B8  mov         edi,eax 
03B410BA  add         esp,4 
03B410BD  test        edi,edi 
03B410BF  mov         dword ptr [esi+24h],edi 
03B410C2  je          03B410FC 
03B410C4  mov         ecx,0Ah 
03B410C9  xor         eax,eax 
03B410CB  rep stos    dword ptr es:[edi] 
03B410CD  mov         eax,dword ptr [esp+18h] 
03B410D1  mov         edx,dword ptr [esi+24h] 
03B410D4  mov         dword ptr [eax+ebx*4],edx 
03B410D7  mov         ecx,dword ptr [esi+24h] 
03B410DA  mov         dword ptr [ecx+20h],esi <<<<<< The value gets loaded
here
03B410DD  mov         edx,dword ptr [esi+24h] 
03B410E0  mov         dword ptr [edx+18h],0 
03B410E7  mov         edx,dword ptr ds:[3B63424h] 
03B410ED  inc         edx  
03B410EE  inc         ebx  
03B410EF  mov         dword ptr ds:[3B63424h],edx 
03B410F5  mov         esi,dword ptr [esi+24h] 
03B410F8  test        esi,esi 
03B410FA  jne         03B410AB

-- 
View this message in context: http://www.nabble.com/alGenBuffers-generates-invalid-values-%28PC-only%29-tf4343773.html#a12380896
Sent from the OpenAL - User mailing list archive at Nabble.com.



More information about the Openal mailing list