fix emulation mode, add warning

broken due to refactoring 801a4b3c45