sceDisplaySetMode() function

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
diedel
Posts: 13
Joined: Mon Sep 22, 2008 4:04 am

sceDisplaySetMode() function

Post by diedel »

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.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

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.
Post Reply