The subject is wrong. It does not fix 3487, it only fixes a ddraw debug-bug.
Peter
On Thursday 06 October 2005 09:38, Vitaliy Margolen wrote:
> Thursday, October 6, 2005, 1:31:09 AM, Raphael wrote:
> > Hi,
> > Changelog:
> > - fix 3487: don't crash if pDDSD is NULL on DirectDrawSurface::Lock
> > Regards,
> > Raphael
> > +if (NULL == lpddsd) {
> > + DPRINTF("(null)\n")
Thursday, October 6, 2005, 1:31:09 AM, Raphael wrote:
> Hi,
> Changelog:
> - fix 3487: don't crash if pDDSD is NULL on DirectDrawSurface::Lock
> Regards,
> Raphael
> +if (NULL == lpddsd) {
> + DPRINTF("(null)\n");
> } else {
Please don't use DPFINTF
> + if (lpddsd->>dwSize >=