The "Cleanstretch" hack appears to be exactly whats needed.
DirectDraw automatically adds equal borders top/bottom and left/right to make up the small difference between the game resolution and screen resolution so that the game portion of the picture is unscaled. In most cases the borders are not noticeable. Thats what the hack appears to do. But the problem is, its a hack.
The ArcadeVGA card exists as an easy, supported, option to get native unstretched resolutions on standard Mame with no hacks for the vast majority of people who are not interested in compiling or hacking.
So, it might be time to retire this product if standard Mame is not going to have an ini file option to implement this code.
I would welcome removal of DirectDraw as it has problems, but I have been banging on about native resolutions in D3D for around 6-7 years and I have no idea why the Mame devs wont do it.
The very low vertical resolutions such as 224 lines are a special case. There is no difference between running these on a "real" 224 line resolution or on a 240 line resolution. It simply depends on whether the top/bottom borders are created in the modeline or by DirectDraw, the end result is large top/bottom borders unless the monitor is adjusted. This was the case with the original games too, which had big top/bottom blank areas necessitating the monitor V Size having to be set to a high value. Standard res monitors run on a basis of around 240 lines plus some extra for borders to stay within the 15Khz / 60Hz scan rates. Any lower than 240 lines means bigger borders to get the required line count.
|