Added support for MAME