Path: chuka.playstation.co.uk!news From: "Nigel Critten" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: argh Date: Thu, 26 Nov 1998 14:25:24 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 18 Message-ID: <73jpmv$9ia14@chuka.playstation.co.uk> References: <73i0rg$9ia6@chuka.playstation.co.uk> <73j1ld$9ia11@chuka.playstation.co.uk> <73jj6i$9ia13@chuka.playstation.co.uk> <365D5685.328E0BF5@scee.sony.co.uk> NNTP-Posting-Host: gameware.demon.co.uk X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Thanks James, that was the problem, it was a silly thing to miss. I've also adjusted the memory size as you suggest. cheers Nigel James Russell wrote in message <365D5685.328E0BF5@scee.sony.co.uk>... >Have you called InitHeap? You must do this before using malloc. > >BTW the correct size for storing the result of a StoreImage is: > >Width * Height * 2; > >The times 2 is because each pixel in the VRAM is 16 bits, not