Search found 9 matches

by Snatcher
Wed Aug 10, 2005 10:41 am
Forum: PSP Development
Topic: Problems with sceKernelStartThread
Replies: 2
Views: 1525

Thanks man, I found the real problem though, thanks to aprevious post of yours (http://forums.ps2dev.org/viewtopic.php?t=2862&highlight=) The solution was changing it to: #define PGA_CHANNELS 3 #define PGA_SAMPLES PSP_AUDIO_SAMPLE_ALIGN(256) #define MAXVOLUME PSP_AUDIO_VOLUME_MAX...
by Snatcher
Tue Aug 09, 2005 9:46 am
Forum: PSP Development
Topic: file io with an array
Replies: 3
Views: 2214

It is a 100 int array /********************************/ int load_keys(int file) { char path_ini[MAXPATH], KeyFile [] = { 'K', 'E', 'Y', '0', 0 }; int fd; mh_strncpy( ini_data.path, now_path, MAXPATH); KeyFile...
by Snatcher
Tue Aug 09, 2005 8:30 am
Forum: PSP Development
Topic: Problem with file input
Replies: 2
Views: 1399

You need to end each string with a NULL character, setting teststr[5] = '\0', since you are reading "raw" into the text array (and never initializing it, which is ok if you always validate)
by Snatcher
Tue Aug 09, 2005 3:04 am
Forum: PSP Development
Topic: Problems with sceKernelStartThread
Replies: 2
Views: 1525

Problems with sceKernelStartThread

Hello, I am trying to "port" fMSX to the PSP SDK, and have completed almost everything succesfully. The only problem I have right now is with the Audio threads, since the thing hangs when calling sceKernelStartThread after a successful sceKernelCreateThread. Here is the code: strcpy&#4...
by Snatcher
Sat Aug 06, 2005 7:40 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 14816

Sent it to you, in case Tim hasn't read this.
by Snatcher
Sat Jul 23, 2005 8:57 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 14816

In my current situation it would be useful, since I have no png support implemented neither I have ever worked with such a setup (or seen an example on the PSP using this method). But maybe it is best of I learn to use fonts that way.
by Snatcher
Sat Jul 23, 2005 2:54 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 14816

I works really well, but now I have to figure out all the infrastucture to use it.. and what ranges I will be needing. I've been using so far a C array with my japanese fnt, but it has proved to be way too small for my application.

Thanks, I'll keep on reading and testing.
by Snatcher
Sat Jul 23, 2005 1:57 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 14816

Thanks man!

I'll test it out immediately, and tell you when get results.
by Snatcher
Thu Jul 21, 2005 1:59 am
Forum: PSP Development
Topic: Font creation tool
Replies: 34
Views: 14816

Any news? I'd be highly interested in the Unicode/SJIS support, and C output parts...

Thanks for your work.