Path: chuka.playstation.co.uk!news From: James Shaughnessy Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: GsLinkObject4 prototype error? Date: Wed, 12 Aug 1998 03:05:40 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 23 Message-ID: <35D0F874.3B8A@manc.u-net.com> References: <35CF88D3.4762@manc.u-net.com> <35CFA154.5EAB@manc.u-net.com> <35D03B22.5D50@manc.u-net.com> <35D05070.348AE2E@scee.sony.co.uk> <01bdc542$ea168620$230b0a0a@Angela1.intelligent-group.com> <35D07D9A.58DF37BA@scee.sony.co.uk> NNTP-Posting-Host: manc.u-net.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Thanks for the help James and Craig, I'm sure between you you've given me all the info I need to restore my libps.h to normal. I guess I should have realises that 3 might have been summit to do with it. D'OH! Cheers, Jim -- ----------------------------------------- James Shaughnessy james@manc.u-net.com http://www.netyaroze-europe.com/~shaughnj ----------------------------------------- James Russell wrote: > Craig Graham wrote: > > > u_long *memaddress = (u_long *)0x80091234; > > > GsLinkObject4((u_long)(memaddress + 3), .... > > Don't do that. > I think what I wrote should work. I put the memaddress + 3 in > parentheses, and because memaddress > was a u_long*, it would be the same as &memaddress[3], calculated > _before_ the cast.