| View previous topic :: View next topic |
| Author |
Message |
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Wed Jan 21, 2009 1:59 am Post subject: gsKit patch to fix some DH values |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jan 21, 2009 3:22 am Post subject: |
|
|
| Code: | Sending ee/gs/src/gsFontM.c
Sending ee/gs/src/gsInit.c
Transmitting file data ..
Committed revision 1517. |
Committed! |
|
| Back to top |
|
 |
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Wed Jan 21, 2009 3:27 am Post subject: |
|
|
| Thanks :D. |
|
| Back to top |
|
 |
|