It would depend on the console. I worked on "Midway Arcade Treasures" (PS2, XBOX and GameCube) and none of the emulators in that package was based on MAME, including Spy Hunter.
I'm just amazed they could find the source for some of the older Midway games. I think Bally kept really good archives, but I think Williams not so much.
> MAME is free. The source code is free. If you paid for it, you've been ripped off. If you sell it, you are a thief.
> You are not allowed to distribute X-Mame ( source or binary) and ROM's image in the same package or physical medium.
> If you distribute the executable, you should also distribute the source code.
> The source code cannot be used in a commercial product without a written authorization of the authors.