Path: chuka.playstation.co.uk!news From: "pal" Newsgroups: scee.yaroze.freetalk.english Subject: Re: game freezes Date: 27 Jul 2002 08:35:04 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 14 Message-ID: <01c23547$590a69c0$e5a2933e@pal-s-omnibook> References: NNTP-Posting-Host: nas-cbv-9-62-147-162-229.dial.proxad.net X-Newsreader: Microsoft Internet News 4.70.1155 Sounds like a memory trashing problem... Have you checked that your code doesn't overlap with anything? Is bb0/bb1 properly initialized (I didnt find a controller init function in your main -- but I guess it is if the code works reacts properly to pad input without those faulty 2 lines) ? I'd suggest you try cutting all code except the faulty lines and reinsert it by small pieces until the crash comes back, as it looks like the problem is due to some unwanted side effect... Just one note: in the main while loop, padd is used before its first initialisation, which might produce random bugs. You can easily fix this by changing the while into a do-while.