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 

GU Settings

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



Joined: 06 Oct 2005
Posts: 16

PostPosted: Fri Feb 24, 2006 1:07 pm    Post subject: GU Settings Reply with quote

Just wondering if there is an easy way to save all the current GU Settings, and then restore then at a later time. I currently have a program that runs other code wich requires certain GU settings, and when it returns from that the display becomes broken. Input still works, though. Thanks,
Debug

EDIT:
I think sceGuGetAllStatus and sceGuSetAllStatus might do the trick, but that doesn't affect viewport, etc.
_________________
Code:

catch(IOException e){
//oh crap
}
Back to top
View user's profile Send private message AIM Address
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Fri Feb 24, 2006 6:28 pm    Post subject: Reply with quote

Perhaps you should take a look at sceGeSaveContext()/sceGeRestoreContext(), it seems that they store & restore the state of the hardware.
_________________
GE Dominator
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