[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wolf 3d-- bug? -- the culprit?



Nathan Mates writes ...
> 
> In article <34EC3DF9.80AE3648@swbell.net>,
> Rubywand  <rubywand@swbell.net> wrote:
> >     Neat! Is the patch available on your web site? If so, what is the
> >file to download?
> 
>    Not yet. It'll be part of GUPP 1.0.7 when that's released (Delphi
> paying customers will get first shot, as usual). I've got a few quirks
> in Pointless (dying when corrupted fonts fed to it) I'd like to fix
> also.
>

     Okay; I'll be looking forward to GUPP 1.07.

 
> >     This is pretty interesting. Are we talking about situations where
> >an application does more than one _SetTSPtr for the same toolset?
> >     Could you explain the bug in more detail and explain the fix?
> 
>    Just one is sufficient. In more detail has already been done on
> Delphi's a2pro areas, but my summaries earlier of the bug should have
> been enough: the OS mistakenly dumps toolsets from RAM at app exit if
> the current TSPtr is not the default. How to fix is left as an
> exercise for the reader.
>

     One suspects that Hierarchic messes with a toolset pointer and that
Wolf-3D diddles the same toolset's pointer. 

     Anyway, it looks like the main part of a game fix would be to save
the toolset pointer before diddling it and restore it before exiting.


Rubywand