
I recently had problems with sound (explained in this topic)
Well, after some researches I found out I could solve it, but I need the pointer to the primary sound buffer. The code probably looks like this:
Code: Select all
*DD.IDirectDrawSurface7
!EXTRN _PB_DirectX_PrimaryBuffer
!MOV eax,[_PB_DirectX_PrimaryBuffer]
!MOV [p_DD],eax