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 

sceDisplaySetMode() function

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



Joined: 22 Sep 2008
Posts: 16

PostPosted: Thu Dec 11, 2008 11:32 pm    Post subject: sceDisplaySetMode() function Reply with quote

Hello,
I've noticed that calling sceDisplaySetMode(0, 480, 272) (or whatever arguments are passed) produces the same result.
After a call to sceDisplayGetMode(&pmode, &pwidth, &pheight) for checking it returns 0, 480, 272. Also it returns the same values although sceDisplaySetMode() is not called. Is it normal?

To set a direct framebuffer is only needed a call to sceDisplaySetFrameBuf()... after that you can put the pixel info for display it immediately.

Note: I'm not using the Gu library.


Regards.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Fri Dec 12, 2008 1:31 am    Post subject: Reply with quote

Those are the only parameters it will accept.
For other resolutions you need to use the dve thing and video out.

If you want to set the mode as in the color mode, then that should be done in the sceDisplaySetFrameBuf only.
Back to top
View user's profile Send private message
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