Page 1 of 1

Embedded sjpcm.irx problem

Posted: Wed Oct 20, 2004 6:37 am
by jum
Hi

I'm trying to embed the "independant" sjpcm irx in my EE code, and load it using SifExecModuleBuffer(...) ( ret = SifExecModuleBuffer((void *)&sjpcm_irx, 8637, 0, NULL, &m) )

Although SifExecModuleBuffer(..) succeeds (return values are 0), when I call SjPCM_Init(1), my proggie just hangs.

If I load the same irx from a file ( SifLoadModule("host:sjpcm.irx", 0, NULL) ) it works fine.

Any help appreciated.

- Jum

Posted: Wed Oct 20, 2004 7:21 pm
by Lukasz
Did you remember to use the loadmodulebuffer patch from sbv?

If so, check out ps2link src for loading IRX's from EE memory.

Posted: Thu Oct 21, 2004 1:23 am
by jum
Thanks Lukasz - I'll check out the ps2link src. Didn't know I had to use sbv patch - I thought it was for loading and executing EE elfs from memcard.

- Jum