You probably have frame delay enabled in mame.ini. That's a bad practice. Frame delay must be adjusted per game. First, disable it in mame.ini. Then lauch each game that shown issues, and use the new slider in the internal ui to set frame delay to 0. Finally, use the specific inis you had for each game and besides triplebuffer, set -autosync 0.