Add support for --emumode