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 

Redirect printf to texture

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



Joined: 01 Jul 2005
Posts: 197

PostPosted: Tue Jan 24, 2006 3:07 am    Post subject: Redirect printf to texture Reply with quote

I'd like to use the pspDebugScreenPrintf function to output to a texture, without having to re-code the function myself. Is there a way I can re-direct pspDebugScreenPrintf to write to a texture instead of vram?
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Tue Jan 24, 2006 3:43 am    Post subject: Reply with quote

Not really, most of the stuff in screenprintf is hard coded to operate on the display device. You could tweak the sdk routines so you can set the address of the g_vram_base pointer externally then as long as your texture is 32bit colour and 512 pixels wide then it should work.
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