MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Calamity
MAME Fan
Reged: 05/30/11
Posts: 56
Send PM
Re: How to set the degree of stretching?
02/07/13 05:29 PM


Well, I'm quite sure that baseline MAME can do integer scaling on the DX side too, but only with the DirectDraw interface. In ddraw.c, compute_blit_surface_size function, you can see how xscale and yscale are defined as integers.

This is definitely not the case with Direct3D, which on this regard behaves much like DirectDraw does when the -hwstretch option is enabled.

So for instance, for a 320x224 game, when rendered on a 320x240 resolution, DirectDraw will leave the proper black borders up and down, while Direct3D will stretch the height to 240 lines.

Anyway, the scale factors are calculated internally, so there's no way to force specific factors as suggested some posts above.







Entire thread
Subject Posted by Posted on
* How to set the degree of stretching? DaRayu 02/05/13 05:29 PM
. * Re: How to set the degree of stretching? DMala  02/05/13 11:02 PM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 07:12 PM
. * Re: How to set the degree of stretching? DaRayu  02/05/13 09:27 PM
. * Re: How to set the degree of stretching? Sune  02/06/13 04:16 AM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 09:30 PM
. * Re: How to set the degree of stretching? DaRayu  02/05/13 09:43 PM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 09:54 PM
. * Re: How to set the degree of stretching? R. Belmont  02/05/13 10:06 PM
. * Re: How to set the degree of stretching? krick  02/06/13 12:26 AM
. * Re: How to set the degree of stretching? DaRayu  02/06/13 09:06 AM
. * Re: How to set the degree of stretching? R. Belmont  02/06/13 05:43 PM
. * Re: How to set the degree of stretching? StilettoAdministrator  02/06/13 06:07 PM
. * Re: How to set the degree of stretching? grog  02/06/13 07:17 PM
. * Re: How to set the degree of stretching? R. Belmont  02/06/13 11:43 PM
. * Re: How to set the degree of stretching? Calamity  02/07/13 05:29 PM
. * Re: How to set the degree of stretching? R. Belmont  02/07/13 09:08 PM
. * Re: How to set the degree of stretching? DaRayu  02/19/13 01:50 AM
. * Re: How to set the degree of stretching? asasega  02/06/13 05:04 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 186 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5551