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 

sceDisplayDisable()

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



Joined: 11 Aug 2007
Posts: 4

PostPosted: Sat Aug 11, 2007 10:25 am    Post subject: sceDisplayDisable() Reply with quote

Hi guys, i'm trying to turn off fully the psp screen, i used sceGuDisplay(0) but when i use sceGuDisplay(1) the screen keeps black but the backlight turns on as I increase the brightness.

I've read here about sceDisplayDisable and sceDisplayEnable, i put them on the top of my file, but in linking time they cannot be resolved (or simmilar).

So what version of the pspsdk must i use to get them working or what should I do, what i found searching here was completely useless for me.

Thanks in advance.
Back to top
View user's profile Send private message
3r Ch4mp1



Joined: 11 Aug 2007
Posts: 4

PostPosted: Sat Aug 11, 2007 10:32 pm    Post subject: Reply with quote

Problem fixed, the only thing i done was this, if you are programming in C++ and want to use these two functions use this:

Code:
extern "C"{
int sceDisplayEnable(void);
int sceDisplayDisable(void);
}
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