hey all
i never really paid much attention to the whole issue of lag (ie. input, video, or anything else) when using emulators such as mame
however reading around forums lately i notice its obviously a problem, for some more than others it seems
anyway i was wondering, does anyone know a good way to actually test controls/video/other lag in mame without the need of special/extra equipment
the reason i ask is, i tried the
advance-frame method (see below) of testing lag in mame but unsure if it's an accurate test
what i did was took the game:
galaga'88i did the following test:
- launched mame, loaded galaga'88
- inserted coins, started a game
- held down the
right arrow key on my keyboard to begin to move the ship to the right
- without letting go of the
right arrow key, i pressed once the
'P' (pause) button on my keyboard
- now i let go of the
right arrow key
- next i held down the
left arrow key AND the
shift key together
- finally while continuing to hold down the
left arrow key and the
shift key, i tapped the
'P' (pause) button on my keyboard several times (to now advance the game one frame at a time)
what happens is, the ship in galaga'88 continues to move across the screen to the right, another 4 frames after you have pressed the left arrow key on your keyboard (note: by the way i am not saying this is a mame specific problem, i imagine the actual arcade version itself has similar lag, but perhaps one less frame of lag than mame? i dont know..)
anyway, my question is this.... i heard/read that triple buffer introduces extra lag in mame, so i did the galaga'88 test above with triple buffer turned on and then turned off. i also did the same test with vsync on/off. i didnt get any change in results, the lag of 4 frames does not change.
am i being noob (strongly possible) or have i missed the point altogether? is my test invalid when it comes to determining whether triple buffer creates additional lag? if so, is there a way to test potential lag caused by triple buffer, or failing that, perhaps someone can simply advise me on if triple buffer should be avoided if possible, and if so, what are better suited settings in mame in order to minimise lag (eg. the best method of video sync to use, or, is there a difference in lag between using directdraw/direct3d, is it better to use
usb port or older
ps2 port controls, etc)
cheers!
