MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

TheElf
MAME Fan
Reged: 07/10/11
Posts: 4
Send PM
Mame scaling help
02/17/14 04:47 PM Attachment: window.zip 14 KB (3 downloads)


Hi!! im new here, greetings

Im building a custom mame for my personal use

I need to do something, but im stuck


I have a custom resolution of 1280x256

I use ddraw, no hardware accel, Mame build is a custom 106 i made for high performance at 60hz

My problem, is that I don't want a integer stretch on width, just on height. Width need to be full stretch

For example,

256x224 > 1280x224 (with black borders on top and bottom)
320x240 > 1280x240 (with black borders on top and bottom)
400x256 > 1280x256
384x224 > 1280x224(with black borders on top and bottom)


I tried "cleanstretch" vertical, horizontal, full, etc, but not luck

Then I decide to tried to change the code, if possible

Any help?

I think there is something in window.c but not luck


Thanks, and sorry my english


PD: I attach my windows.c in case the code to change is in this file

Edited by TheElf (02/17/14 07:21 PM)







Entire thread
Subject Posted by Posted on
* Mame scaling help TheElf 02/17/14 04:47 PM
. * Re: Mame scaling help krick  02/19/14 04:55 AM
. * Re: Mame scaling help TheElf  02/19/14 03:39 PM
. * Re: Mame scaling help ole  02/19/14 01:39 AM
. * Re: Mame scaling help TheElf  02/19/14 03:27 AM
. * Re: Mame scaling help ole  02/19/14 10:45 PM
. * Re: Mame scaling help R. Belmont  02/18/14 05:50 PM
. * Re: Mame scaling help TheElf  02/18/14 06:24 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 118 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3848