MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Resolution and refresh rate
#343065 - 07/28/15 09:07 PM


When using a TFT, hwstretch, d3d and fullscreen, does MAME need you to specify your monitor's resolution in mame.ini like this:

#
# OSD PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution 1920x1080
view auto
screen0 auto
aspect0 auto
resolution0 auto

... or can you leave it in "auto" and expect MAME to detect it? Will it then always use the monitor's native res or will it change it depending on the game?

Another question: can you specify a refresh rate to use, which can differ from your desktop's refresh rate? How?






Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: Resolution and refresh rate new [Re: Elaphe]
#343072 - 07/28/15 10:49 PM


'auto' has always automatically scaled to your desktop.

It started with 'stretch using hardware' via direct draw, early on MAME development. Then was automatic in D3D, though a software effect or sometimes a prescale value would mess up the scaling. Since the change to D3D as main display mode/deprecation of DD, it's been full-screen.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Resolution and refresh rate new [Re: Elaphe]
#343073 - 07/28/15 10:51 PM


Just leave it on auto. MAME auto-detects Windows current screen resolution and use it (resolution and refresh rate).

to se a different refresh rate you have two options:

1. set a manual resolution + manual refresh rate (1920x1080 resolution + 60 Hz refresh rate)

Code:


resolution 1920x1080@60


2. let MAME use current Windows's desktop resolution and set a manual refresh rate ("auto" resolution + 60 Hz refresh rate)

Code:


resolution 0x0@60


You can find this info in MAME's documentation file mamedir\docs\windows.txt

Edited by CiroConsentino (07/28/15 10:54 PM)



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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