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 

[PS2] Extend SBV library

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Patch Submissions
View previous topic :: View next topic  
Author Message
misfire



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Thu Mar 12, 2009 7:30 am    Post subject: [PS2] Extend SBV library Reply with quote

By default, LoadExecPS2() resets the EE and thereby wipes all user-space memory above 0x82000.

With the new SBV function sbv_patch_user_mem_clear(), you can define a different start address to prevent your data from being overwritten. For example, sbv_patch_user_mem_clear(0x00100000) makes sure that all user-space memory below 0x00100000 stays untouched. In order to completely disable the memory clear, simply pass 0x02000000 to it.

libsbv.patch.gz
Back to top
View user's profile Send private message
misfire



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Tue Apr 21, 2009 7:20 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Apr 22, 2009 5:35 am    Post subject: Reply with quote

Committed in rev 1575, thanks.
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 -> Patch Submissions 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