Hello Again,

Adding "if (*pStream != NULL)" the game works flawless :)

HRESULT  WINAPI  IDirect3DDevice8Impl_GetStreamSource(LPDIRECT3DDEVICE8 iface, 
UINT StreamNumber,IDirect3DVertexBuffer8** pStream,UINT* pStride) { 
     IDirect3DDevice8Impl *This = (IDirect3DDevice8Impl *)iface;
     TRACE("(%p) : StreamNo: %d, Stream (%p), Stride %d\n", This, StreamNumber, 
This->StateBlock->stream_source[StreamNumber], 
This->StateBlock->stream_stride[StreamNumber]);
     *pStream = This->StateBlock->stream_source[StreamNumber];
     *pStride = This->StateBlock->stream_stride[StreamNumber];
     if (*pStream != NULL) 
IDirect3DVertexBuffer8Impl_AddRef((LPDIRECT3DVERTEXBUFFER8) *pStream);
     return D3D_OK;
}

Regards,
Carlos.

-- 
 ___         _          \  |  /  Consulting
| . |._ _  _| | ___  ___  ___    http://www.andago.com
|   || ' |/ . |<_> |/ . |/ . \__ GNU/Linux
|_|_||_|_|\___|<___|\_. |\___/     _ \  __|\ \  /
 Carlos A. Lozano   <___'/ | \ -_) __/\__ \ >  <  -_)
 [ [EMAIL PROTECTED] ]\___|_|  ____/ _/\_\___|
 [ [EMAIL PROTECTED]           ]  http://www.ePSXe.com

Reply via email to