I did some searching, and if your CPU isn't real old, and your computer can handle triple buffering, this all but makes the tearing go away in MAME
(the game I had the most trouble with was Street Fighter Alpha 3, and all the tearing went away)
But smooth mame reworks some things and runs all games at , uh, what was it,, well anyway, it runs them all at the same rate, instead of their odd rate.