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 

Is there any working ps2smap driver for PS3

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



Joined: 18 Jun 2009
Posts: 2

PostPosted: Sun Nov 15, 2009 5:39 am    Post subject: Is there any working ps2smap driver for PS3 Reply with quote

Hi,
I'm looking for smap driver for PS2 simulation under PS3. smap.irx from ps2eth is not working on PS3. AFAIK, the smap.irx in the PS2 online games is different from ps2sdk's smap driver. Network startup disc is working on PS3 and it can test and verify the connection. But I couldn't use smap.irx from that disc.
Code:

result = SifExecModuleBuffer(&smap_irx, sizeof_smap_irx, lenof_ipsettings, ipsettings, &r);
if ((!$r)||(result < 0))
{
   printf("not working");
}

Any idea?
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Mon Nov 16, 2009 9:04 am    Post subject: Reply with quote

This sounds interesting. I don't have a PS3.
I never thought about using the dollar sign in variable names. You confused "$r" and "r" and checked the variables in the wrong order.
The value of "r" is invalid if the return value of SifExecModule is lesser than 0. So the correct code is:

Code:

if ((result < 0) || (r != 0)) {
   printf("not working");
}


You need to check if "result" or "r" is the problem.

Maybe SBV patches are not working or you didn't load the required modules in the correct order:
rom0:SIO2MAN
ioptrap.irx
iomanX.irx
poweroff.irx
ps2dev9.irx
ps2ip.irx
ps2smap.irx
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