gsKit patch to fix some DH values

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
ragnarok2040
Posts: 202
Joined: Wed Aug 09, 2006 1:00 am

gsKit patch to fix some DH values

Post by ragnarok2040 »

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/ragna ... t.patch.gz
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Code: Select all

Sending        ee/gs/src/gsFontM.c
Sending        ee/gs/src/gsInit.c
Transmitting file data ..
Committed revision 1517.
Committed!
ragnarok2040
Posts: 202
Joined: Wed Aug 09, 2006 1:00 am

Post by ragnarok2040 »

Thanks :D.
Post Reply