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 

Difference between sceIoLseek32 and sceIoLseek

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



Joined: 28 Apr 2006
Posts: 190

PostPosted: Tue Oct 06, 2009 10:24 pm    Post subject: Difference between sceIoLseek32 and sceIoLseek Reply with quote

Hi! :)

Can someone explain me the difference between sceIoLseek32 and sceIoLseek?
What does it mean to seek in 32 bit mode?
Are there performance differences between the two functions?
When should I use one instead of the other?

Many thanks.

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Oct 07, 2009 2:45 am    Post subject: Reply with quote

32 bit seeking only allows for +/- 2GB seeking. With sticks out that are greater than 4GB, it's quite likely 32 bit seeking won't hack it for some things (videos, databases, etc). That's when you go to 64 bit seeking. However, for most apps, +/- 2GB is WAAAAAAAY more than they need, so 32 bit seeking is fine. For example, music players, or loading art for a game.

And that's the difference: sceIoLseek32() takes an int as the offset, where sceIoLseek() takes an sceOff, which is a 64 bit int.
Back to top
View user's profile Send private message AIM Address
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Oct 07, 2009 4:01 am    Post subject: Reply with quote

Hi! :)

Many thanks. ;)

Ciaooo
Sakya
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 -> PSP 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