MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM
Re: Another annoying MAME code question
02/11/11 08:58 PM


> Hm, maybe I should have read this more closely before I wrote my other response,
> because I think I see the problem now. What you are saying is that MAME is not
> circumscribing the game within the render_target bounds I provided; it is
> circumscribing a virtual screen that itself circumscribes the game, with the virtual
> screen being the same aspect ratio as the original monitor of the arcade cabinet for
> the game (or however else the layout file associated with the game tells it to be).

It's more than that. I can tell by your language that you are still thinking very narrowly about the variety of games in MAME. Some games have 2 or 3 monitors. Some games have no monitors at all. Many games have non-monitor artwork. All of these are taken into account and rendered to the target. A given game may have multiple "views", which describe how those elements are rendered, and these are all user-configurable from the video menu. Also whether or not artwork is rendered and the rotation of the game are fully under user control.

There are user options already available to "fit to screen" (see -nokeepaspect, which ignores aspect ratio) as well as "zoom to maximize the screen but leave any side art" (in the Video menu). If you want to force "fit to screen" on, that's your perogative; you can just mimic the code in -nokeepaspect to get what you're after.

Aaron







Entire thread
Subject Posted by Posted on
* Another annoying MAME code question Bryan Ischo 02/11/11 10:45 AM
. * Re: Another annoying MAME code question Bryan Ischo  02/11/11 08:31 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/11/11 08:41 PM
. * Re: Another annoying MAME code question R. Belmont  02/12/11 01:29 AM
. * Re: Another annoying MAME code question AaronGiles  02/11/11 05:21 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/11/11 08:13 PM
. * Re: Another annoying MAME code question AaronGiles  02/11/11 08:58 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/11/11 09:08 PM
. * Re: Another annoying MAME code question R. Belmont  02/11/11 10:50 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/12/11 01:05 AM
. * Re: Another annoying MAME code question R. Belmont  02/11/11 05:15 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/11/11 07:55 PM
. * Re: Another annoying MAME code question R. Belmont  02/11/11 10:51 PM
. * Re: Another annoying MAME code question Bryan Ischo  02/12/11 01:38 AM
. * Re: Another annoying MAME code question AaronGiles  02/12/11 02:59 AM
. * Re: Another annoying MAME code question R. Belmont  02/13/11 03:37 AM

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