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 

gsKit patch to fix some DH values

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



Joined: 09 Aug 2006
Posts: 230

PostPosted: Wed Jan 21, 2009 1:59 am    Post subject: gsKit patch to fix some DH values Reply with quote

I was looking over the algorithm for determining magnification values and realized that the NTSC/PAL/1080i's DH values should really be half of what they are for non-interlaced modes and doubled if interlaced field mode is used. Before, I'd set them to the max height supported. Afaik, there's no problem with the current way, but I think this is the proper way to do it.

E.g. using 224 in non-interlaced mode should use a MagV of 0, since it's the max possible height in that mode. Using 448 in interlaced field mode should use a MagV of 0, since it's the max possible height. Then using 224 in interlaced field mode should use a MagV of 1.

Right now using 224 in non-interlaced mode uses a MagV of 1, since the DH value is set to the maximum possible height that can be displayed.

Patch:
http://homebrew.thewaffleiron.net/ragnarok2040/gsKit.patch.gz
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jan 21, 2009 3:22 am    Post subject: Reply with quote

Code:
Sending        ee/gs/src/gsFontM.c
Sending        ee/gs/src/gsInit.c
Transmitting file data ..
Committed revision 1517.

Committed!
Back to top
View user's profile Send private message Visit poster's website
ragnarok2040



Joined: 09 Aug 2006
Posts: 230

PostPosted: Wed Jan 21, 2009 3:27 am    Post subject: Reply with quote

Thanks :D.
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