Embedded sjpcm.irx problem

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
User avatar
jum
Posts: 38
Joined: Tue Apr 06, 2004 9:31 pm
Location: Cape Town
Contact:

Embedded sjpcm.irx problem

Post 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
8 bits is all you'll ever need...
User avatar
Lukasz
Posts: 248
Joined: Mon Jan 19, 2004 8:37 pm
Location: Denmark
Contact:

Post 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.
User avatar
jum
Posts: 38
Joined: Tue Apr 06, 2004 9:31 pm
Location: Cape Town
Contact:

Post 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
8 bits is all you'll ever need...
Post Reply