Mame doesn't like 24-bit. I was running it on an on-board Intel graphics chip that could only handle 16 and 24 bit, unlike most cards that run 32 bit these days. Because of that, some of the games were being distorted and others were being offset to the left. Once I upgraded the video to a 32-bit card, everything worked fine.