Changed the way emulation happens