GU Settings

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

Moderators: cheriff, TyRaNiD

Post Reply
Debug
Posts: 16
Joined: Thu Oct 06, 2005 4:16 am

GU Settings

Post by Debug »

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: Select all

catch(IOException e){
//oh crap
}
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

Perhaps you should take a look at sceGeSaveContext()/sceGeRestoreContext(), it seems that they store & restore the state of the hardware.
GE Dominator
Post Reply