forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Embedded sjpcm.irx problem

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
jum



Joined: 06 Apr 2004
Posts: 38
Location: Cape Town

PostPosted: Wed Oct 20, 2004 6:37 am    Post subject: Embedded sjpcm.irx problem Reply with quote

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...
Back to top
View user's profile Send private message Visit poster's website
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Wed Oct 20, 2004 7:21 pm    Post subject: Reply with quote

Did you remember to use the loadmodulebuffer patch from sbv?

If so, check out ps2link src for loading IRX's from EE memory.
Back to top
View user's profile Send private message Visit poster's website
jum



Joined: 06 Apr 2004
Posts: 38
Location: Cape Town

PostPosted: Thu Oct 21, 2004 1:23 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group