MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Mamesick
Troll Lamer
Reged: 09/21/03
Posts: 1649
Loc: Italy
Send PM
A humble question about MAME video emulation...
05/03/13 09:18 AM


Sorry, but the documentation in source is pretty vague. What I'd like to know is which is the default for the VIDEO_UPDATE calls in MAME. I mean: if I want the screen redrawn *after* VBLANK, have I to specify the attribute VIDEO_UPDATE_AFTER_VBLANK or is this already the default? You know that the other option is VIDEO_UPDATE_BEFORE_VBLANK. And also, does it call a particular function (e.g. SCREEN_EOF) and have I to specify it or is it enough define a SCREEN_UPDATE with the necessary routines to draw the screen and then leave MAME do the rest by itself?
Last (maybe more stupid) question: to have a perfect VBLANK, is it enough have SCREEN_REFRESH and SCREEN_SIZE parameters or is better use the macro VIDEO_RAW_PARAMETERS? Which of the two options could be more accurate?
Note that I used the old macros in this post to be the clearest possible, I know they are changed during the C++ rewrite but this is not a problem.
Thanks thanks in advance.







Entire thread
Subject Posted by Posted on
* A humble question about MAME video emulation... Mamesick 05/03/13 09:18 AM
. * Re: A humble question about MAME video emulation... Phil Bennett  05/03/13 10:54 AM
. * Re: A humble question about MAME video emulation... Mamesick  05/03/13 12:52 PM

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